This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Two snapshot bugs


On Tue, Oct 10, 2000 at 11:53:00AM -0700, Earnie Boyd wrote:
>And the "Single UNIX Specification" as copyrighted by the Open Group doesn't
>even give it that much freedom.  Gives an EINVAL error for size 0 and says that
>if buf is a NULL pointer then the result is undefined.  Reference:
>http://www.opennc.org/onlinepubs/7908799/xsh/getcwd.html

I'm aware of this, but in this case, I'm adhering to linux since previous versions
were closer to linux.

I have modified things so that a zero second argument produces an EINVAL.  I'm still
not exactly sure why there was *no* errno set before, though.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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