K 10 svn:author V 4 ache K 8 svn:date V 27 2001-09-01T15:28:24.000000Z K 7 svn:log V 274 Save errno before function call and restore it on success (because many internal functions there may fail and set (i.e. overwrite) errno in normal (not error) situation). In original variant errno testing after call (as POSIX suggest) is wrong when errno overwrite happens. END