| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | RayeR <glaux AT centrum DOT cz> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: I need strtok_r() function |
| Date: | Tue, 18 Oct 2011 06:05:56 -0700 (PDT) |
| Organization: | http://groups.google.com |
| Lines: | 30 |
| Message-ID: | <153d7dc6-0ff9-4ef2-9933-e603b92db585@m4g2000yqm.googlegroups.com> |
| References: | <bf04ff58-89d4-46fe-aaf4-ad5a07eaf8ff AT k35g2000yqh DOT googlegroups DOT com> |
| <8339erwjdk DOT fsf AT gnu DOT org> <3533b2fa-8962-47c1-a6a8-373cc0e8a1f3 AT g7g2000vbv DOT googlegroups DOT com> | |
| <83zkgzv01r DOT fsf AT gnu DOT org> | |
| NNTP-Posting-Host: | 90.181.199.10 |
| Mime-Version: | 1.0 |
| X-Trace: | posting.google.com 1318943156 14606 127.0.0.1 (18 Oct 2011 13:05:56 GMT) |
| X-Complaints-To: | groups-abuse AT google DOT com |
| NNTP-Posting-Date: | Tue, 18 Oct 2011 13:05:56 +0000 (UTC) |
| Complaints-To: | groups-abuse AT google DOT com |
| Injection-Info: | m4g2000yqm.googlegroups.com; posting-host=90.181.199.10; posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp |
| User-Agent: | G2/1.0 |
| X-Google-Web-Client: | true |
| X-Google-Header-Order: | HUALESNKRC |
| X-HTTP-UserAgent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) |
| Gecko/20110420 SeaMonkey/2.0.14,gzip(gfe) | |
| Bytes: | 2612 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id p9IDF2bb004580 |
| Reply-To: | djgpp AT delorie DOT com |
> If you want less source level changes, you can define a macro, > something like (untested): > > #define strtok_r(s1,s2,s3) strtok(s1,s2) Thanks for explanation. I used the macro and it compiled OK. Maybe it would be usefull to include this macro to djgpp string.h Unfortunately when I tested compiled x264 to compress sample video it crashes immediatelly: C:\X264>X264.EXE -o out.flv example.y4m y4m [info]: 384x288p 0:0 @ 25/1 fps (cfr) x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1 Exiting due to signal SIGSEGV General Protection Fault at eip=000d9e10 eax=00a39f10 ebx=00a1fdb0 ecx=000001c0 edx=00a39f10 esi=00226eb0 edi=00226eb0 ebp=00000000 esp=001f3eec program=C:\X264\X264.EXE cs: sel=01a7 base=029e0000 limit=00acffff ds: sel=01af base=029e0000 limit=00acffff es: sel=01af base=029e0000 limit=00acffff fs: sel=017f base=00005e10 limit=0000ffff gs: sel=01bf base=00000000 limit=0010ffff ss: sel=01af base=029e0000 limit=00acffff App stack: [001f4bb8..00174bbc] Exceptn stack: [00174adc..00172b9c] (running under XP NTVDM) maybe it's issue with sse or something else messed up...
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |