[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strtok_r in glibc 2.0.7 bugginess
In message <email@example.com>, 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] firstname.lastname@example.org
system administrator [WAY too many hats] email@example.com
carnegie mellon / electrical and computer engineering KF8NH
We are Linux. Resistance is an indication that you missed the point.