[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev 2.8.1dev.19.patch.gz

From: T.E.Dickey
Subject: Re: lynx-dev 2.8.1dev.19.patch.gz
Date: Mon, 3 Aug 1998 08:32:01 -0400 (EDT)

> At 05:02 PM 8/2/98 +0100, you wrote: 
> >> Actually, after playing some more with it, I'm really not sure what's 
> >> wrong.  :-(  Exactly what is LYstrsep() supposed to be doing when its 
> >> second argument isn't found -- what's it supposed to return, is it 
> >> supposed to have done anything to the pointed-to data, and is it 
> >> supposed to have done anything to its first argument? 
> > 
> >Changing the patch to set `out' to be NULL in the initialiser might 
> >help - that way, strsep will return NULL if strpbrk returns NULL, 
> >rather than some undefined value. 
> > 
> >I'll roll this into the patch on my website if someone can tell me 
> >it helps... 
> What exactly does strsep do, and what systems have it?  I've looked in the 
> documentation for VC++ 5, and in the man pages on Digital UNIX and ULTRIX 
> systems, and none of them mention it. 
My Linux manpage documents it as a clone of strtok which does the 'right'
thing for empty tokens.  (It's not documented on solaris either ;-)

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]