Re: [PATCH] Lacking strtok_r
On Fri, Mar 28, 2008 at 12:36:58PM +0100, Alain Bench wrote:
> The patch compiles, but on old systems uses strtok() instead of
> strtok_r(). Such Mutt will misparse some URLs, as reported in bugs:
>
> | #2968 (Debian #426148): "mailto:" URL parsing stops at "references"
> header
> | Debian bug #446016: mutt doesn't handle mailto: links from
> lists.debian.org correctly
>
> ...due to recursive calls to strtok(). We'd need a replacement
> strtok_r() for systems where it lacks.
Hmmm, I didn't notice the recursion--that explains the change to
strtok_r. I'll see what I can do about that.
>>> Dan
--
http://www.MoveAnnouncer.com The web change of address service
Let webmasters know that your web site has moved