delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/14/10:49:18

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
Date: Wed, 14 Mar 2001 16:35:21 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.1.8: stat() (ntsec) clears reentrant-buffer for strtok()
Message-ID: <20010314163521.D8060@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3AAF7F68 DOT 60785E60 AT salomon DOT at>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3AAF7F68.60785E60@salomon.at>; from michael.haubenwallner@salomon.at on Wed, Mar 14, 2001 at 03:25:44PM +0100

On Wed, Mar 14, 2001 at 03:25:44PM +0100, Michael Haubenwallner wrote:
> Hi there!
> 
> This is my problem with stat() and strtok() on 1.1.8:
> 
> stat() seems to clear the reentrant-buffer for strtok()
> if ntsec is set in the CYGWIN environment-variable.

That's a bug in the Cygwin DLL. It should never use strtok for own
purposes. I have searched for the usage of strtok and found three
different places. I have fixed that in the CVS repository by using
strtok_r throughout.

Thanks for the bug report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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