Re: [PATCH] strtok()
| From: | Rolland Santimano | Date: | Fri, 09 Sep 2005 18:48:41 +0000 |
| Subject: | Re: [PATCH] strtok() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18753@lists.php.net to get a copy of this message | ||
--- Andrei Zmievski <andrei@gravitonic.com> wrote:
> Why did we decide to not use u_strtok() here?
>
> -Andrei
u_strtok() assumes NULL terminated input, w/o embedded NULLs. But using
u_strtok() would have been much simpler.
- Rolland
> On Sep 9, 2005, at 11:41 AM, Rolland Santimano wrote:
>
> > --- Rolland Santimano <rollandsantimano@yahoo.com> wrote:
> >
> >> Submitting patch for Unicode impl of strtok(), since I don't have
> >> a proper test setup, as yet.
> >>
> >> -- Rolland
> >>
> >
> > OK, attachment got stripped - please check inline patch.
> > --