delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Tue, 10 Oct 2000 15:11:41 -0400 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: Two snapshot bugs |
Message-ID: | <20001010151141.A4949@cygnus.com> |
Reply-To: | cygwin AT sources DOT redhat DOT com |
Mail-Followup-To: | cygwin AT sources DOT redhat DOT com |
References: | <20001010185300 DOT 23932 DOT qmail AT web109 DOT yahoomail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.6i |
In-Reply-To: | <20001010185300.23932.qmail@web109.yahoomail.com>; from earnie_boyd@yahoo.com on Tue, Oct 10, 2000 at 11:53:00AM -0700 |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |