Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: ericblake AT comcast DOT net (Eric Blake) To: Dave Korn , skilover AT softhome DOT net, cygwin AT cygwin DOT com Subject: RE: findutils still broken Date: Thu, 21 Apr 2005 17:47:09 +0000 Message-Id: <042120051747.9212.4267E71D000DF609000023FC22058891160A050E040D0C079D0A@comcast.net> X-Authenticated-Sender: ZXJpY2JsYWtlQGNvbWNhc3QubmV0 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/