delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/21/13:48:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <dave DOT korn AT artimi DOT com>, 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019