[PATCHv2 2/2] realpath: don't lose errno on failure

Roland McGrath roland@hack.frob.com
Tue Oct 1 22:14:00 GMT 2013


It should be easy enough to write a regression test for this using a
locally defined free.  So I think you don't get any exemption from the
usual policy of regression tests for user-visible bug fixes. :-)

Also, "saved_errno" is the variable name usually used for saving and
restoring errno so as not to touch it.  It would be more clear to name it
something like "failure_errno".


Thanks,
Roland



More information about the Libc-alpha mailing list