[LTP] [PATCH] safe_macros: match oldlib SAFE_CLOSE with docs

Cyril Hrubis chrubis@suse.cz
Tue Jul 12 15:55:43 CEST 2016


Hi!
> Docs say that SAFE_CLOSE() sets the passed file descriptor to -1
> after it's successfully closed, but oldlib SAFE_CLOSE doesn't
> do that.

Have you tried to run at least syscalls testsuite after this change?

I do not expect that this will break anything, but there it's a possibility.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list