This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: strsep bug?
- To: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Subject: Re: strsep bug?
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 12 Jul 1999 15:13:08 -0700
- Cc: libc-alpha@sourceware.cygnus.com, "Andrzej M. Ostruszka" <ostruszk@order.if.uj.edu.pl>
- References: <u83dytzl86.fsf@arthur.rhein-neckar.de>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:
> The problem is that strsep does not skip leading delimitiers like strtok
> do.
This is exactly the expected behaviour and it is also the reason why
there is strtok_r.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
- References:
- strsep bug?
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>