This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with sh/bash and snapshot cygwin1-20050825.dll
- From: ericblake at comcast dot net (Eric Blake)
- To: cygwin at cygwin dot com
- Date: Fri, 26 Aug 2005 15:08:30 +0000
- Subject: Re: Problem with sh/bash and snapshot cygwin1-20050825.dll
> > On Fri, Aug 26, 2005 at 06:17:13AM -0600, Eric Blake wrote:
> > >While you're at it, fix realpath(NULL, buf) to set buf[0]='\0', instead of
> > >leaving garbage there.
> >
> > What's the rationale for touching buf when realpath is returning an error
> > and setting EINVAL?
>
> Because POSIX states that buf is indeterminate on error, and
> because Corrina's patch caused a regression (ie. 1.5.18 was
^^^^
Sorry about that, Corinna - mental slip as I was typing. (Someday
I'll learn...)
--
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/