<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Lacking strtok_r



Hello Dan, and much thanks for your contributions.

 On Thursday, March 20, 2008 at 11:10:53 -0700, Dan Fandrich wrote:

> Here's a patch to allow compilation on old systems without strtok_r.

    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.


Bye!    Alain.
-- 
When you want to reply to a mailing list, please avoid doing so with
Medianet/v2.0. This lacks necessary references and breaks threads.