This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: findutils still broken
- From: ericblake at comcast dot net (Eric Blake)
- To: Dave Korn <dave dot korn at artimi dot com>, skilover at softhome dot net, cygwin at cygwin dot com
- Date: Thu, 21 Apr 2005 17:47:09 +0000
- Subject: 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/