delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/07/16:14:26

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: bug: unsetenv should return int, not void
Mail-Copies-To: never
Reply-To: sds AT gnu DOT org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
From: Sam Steingold <sds AT gnu DOT org>
In-Reply-To: <20051207200132.GC21446@trixie.casa.cgf.cx> (Christopher Faylor's message of "Wed, 7 Dec 2005 15:01:32 -0500")
References: <uiru3xm9i DOT fsf AT gnu DOT org> <20051207200132 DOT GC21446 AT trixie DOT casa DOT cgf DOT cx>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Wed, 07 Dec 2005 16:12:52 -0500
Message-ID: <uy82wtxuz.fsf@gnu.org>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

> * Christopher Faylor <pts-ab-crefbany-ercyl-cyrnfr AT pltjva DOT pbz> [2005-12-07 15:01:32 -0500]:
>
> On Mon, Dec 05, 2005 at 04:32:57PM -0500, Sam Steingold wrote:
>>http://www.opengroup.org/onlinepubs/009695399/functions/unsetenv.html
>>#include <stdlib.h>
>>int unsetenv(const char *name);
>
> Actually we emulate linux not SUSv3.

interesting.  since linux tries to emulate SUS, maybe it is a good idea
to aim towards SUS directly?

> The linux man page (i.e., the ones that Corinna and I can access)
> seems to contradict its header files, though, so I've modified cygwin
> to use what linux actually does rather than what linux documents.

could you please also report the bug (header - man page discrepancy) to
the linux people?

thanks a lot!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.dhimmi.com/ http://www.savegushkatif.org http://www.iris.org.il
http://truepeace.org http://www.camera.org http://www.openvotingconsortium.org/
I'm out of my mind, but feel free to leave a message...

--
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