Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libwrap



Module Name:    src
Committed By:   kre
Date:           Sun Jan 13 06:10:34 UTC 2019

Modified Files:
        src/lib/libwrap: expandm.c

Log Message:
Always return from expandm() with errno unaltered, so on the
off chance it failed, there's still the possibility that whatever
processes the result will be able to deal with the %m that would
(presumably) be left in the format string.

And as a frill, don't call strerror() until we know we are
going to use its result (still call it only once, no matter
how many %m's are in the format string).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libwrap/expandm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index