This is the mail archive of the cygwin@cygwin.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: 1.1.8: stat() (ntsec) clears reentrant-buffer for strtok()


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@cygwin.com
Red Hat, Inc.

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


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