This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: findutils still broken


Stupid webmail interface. Why can't it wrap lines, so they don't get truncated at 1000 characters en route, per the RFCs?

[...]
> changing errno except on error.  readdir() is documented as not changing errno 
> except on error when the return value is NULL, but is allowed to change errno 
> when the 

when the return value is non-NULL.  So, either cygwin's /proc filesystem is 
falling afoul of POSIX requirements on readdir(), or find is non-portable and is 
wrongly assuming that an errno changed to EISDIR even on a non-NULL return from 
readdir() means an error occurred.  I still don't know if the error is in 
find(1) or in cygwin1.dll, but don't have time to research further at the 
moment.

--
Eric Blake



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]