[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strtok_r in glibc 2.0.7 bugginess
In message <firstname.lastname@example.org>, Assar Westerlund writes:
| I think the error actually happens when using a constant string. Can
| you try the appended patch and if it solves the problem for you?
Correct, and that's the fix I used with both heimdal and kth-krb4 (strdup()
the first parameter).
strtok() and strtok_r() are really pre-ANSI and in my experience are best
brandon s. allbery [os/2][linux][solaris][japh] email@example.com
system administrator [WAY too many hats] firstname.lastname@example.org
carnegie mellon / electrical and computer engineering KF8NH
We are Linux. Resistance is an indication that you missed the point.