On 23/01/17 21:26, sf...@users.sourceforge.net wrote: > OmegaPhil: >> I understand what you are saying from the manpage, however it does seem >> reasonable to say that any unusual errno state means a failure has >> occurred somewhere (ignoring the fact that released libau currently sets >> EBADF even when a failure has not happened). >> >> If I report this to git, I bet they'll just say that libau shouldn't >> have set errno without an actual failure to report :/ > > As you understood my point, I can understand yours. Also I understand > that people never expect errno is set when they pass a valid DIR*. > Ok, I will fix libau. > > > J. R. Okajima
Cheers - just out of interest, do you know how to set a watchpoint on errno in gdb? That wouldve saved a lot of time. It seems gdb is only capable of using errno in an expression when it suits it...
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot