After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 79472 - remove calls to strtok_r()
remove calls to strtok_r()
Status: VERIFIED FIXED
Product: pango
Classification: Platform
Component: general
1.0.x
Other other
: Normal normal
: ---
Assigned To: Owen Taylor
Owen Taylor
: 69908 (view as bug list)
Depends on:
Blocks: 80435
 
 
Reported: 2002-04-22 08:17 UTC by jacob berkman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to remove strtok_r() calls (3.50 KB, patch)
2002-04-22 08:18 UTC, jacob berkman
none Details | Review

Description jacob berkman 2002-04-22 08:17:47 UTC
mac os x doesn't have strtok_r().

this patch replaces strtok_r() calls with other calls.

i don't know how to test this code path so i don't know if it's completely
correct.
Comment 1 jacob berkman 2002-04-22 08:18:57 UTC
Created attachment 7852 [details] [review]
patch to remove strtok_r() calls
Comment 2 Owen Taylor 2002-05-13 19:05:46 UTC
The patch is rather complex, and hard to verify, so I'm taking
an alternate approach and adding an implementation of strtok_r
from glibc for machines that don't have it.

I'd appreciate if you could test.

Mon May 13 14:58:12 2002  Owen Taylor  <otaylor@redhat.com>

	* pango/pangox.c configure.in: Add a implementation
	of strtok_r (copied from glibc) for machines that don't
	have it. (#79472, Jacob Berkman.)
Comment 3 jacob berkman 2002-05-13 19:08:08 UTC
thanks, i appreciate you looking at this.

i'll test it when i get home tonight.
Comment 4 jacob berkman 2002-05-14 01:29:39 UTC
this works AFAICT
Comment 5 Owen Taylor 2003-07-24 19:32:34 UTC
*** Bug 69908 has been marked as a duplicate of this bug. ***