public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14229] New: strtok_r() doesn't work with x32
@ 2012-06-13 16:11 vapier at gentoo dot org
  2012-06-13 17:41 ` [Bug libc/14229] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vapier at gentoo dot org @ 2012-06-13 16:11 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14229

             Bug #: 14229
           Summary: strtok_r() doesn't work with x32
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P1
         Component: libc
        AssignedTo: hjl.tools@gmail.com
        ReportedBy: vapier@gentoo.org
                CC: drepper.fsp@gmail.com
    Classification: Unclassified
            Target: x86_64-linux-gnux32


tested the patched glibc-2.15 as well as the latest git mainline

$ cat test.c
#include <stdio.h>
#include <string.h>
int main() {
    char line[] = "udf 75868 1 - Live 0xffffffffa0bfb000\n";
    char *saveptr, *tok = strtok_r(line, " \t", &saveptr);
    printf("tok: {%s}\nshould be: {udf}\n", tok);
    return 0;
}

$ gcc -Wall test.c -m64 && ./a.out
tok: {udf}
should be: {udf}

$ gcc -Wall test.c -m32 && ./a.out
tok: {udf}
should be: {udf}

$ gcc -Wall test.c -mx32 && ./a.out
tok: {}
should be: {udf}

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14229] strtok_r() doesn't work with x32
  2012-06-13 16:11 [Bug libc/14229] New: strtok_r() doesn't work with x32 vapier at gentoo dot org
@ 2012-06-13 17:41 ` hjl.tools at gmail dot com
  2012-06-14 17:42 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-13 17:41 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14229

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://sourceware.org/ml/li
                   |                            |bc-alpha/2012-06/msg00357.h
                   |                            |tml

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-13 17:40:59 UTC ---
A patch is posted at

http://sourceware.org/ml/libc-alpha/2012-06/msg00357.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14229] strtok_r() doesn't work with x32
  2012-06-13 16:11 [Bug libc/14229] New: strtok_r() doesn't work with x32 vapier at gentoo dot org
  2012-06-13 17:41 ` [Bug libc/14229] " hjl.tools at gmail dot com
@ 2012-06-14 17:42 ` hjl.tools at gmail dot com
  2012-06-14 18:31 ` vapier at gentoo dot org
  2014-06-19 14:31 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-14 17:42 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14229

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-14 17:42:45 UTC ---
Fixed on master branch and hjl/x32/release/2.15 branch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14229] strtok_r() doesn't work with x32
  2012-06-13 16:11 [Bug libc/14229] New: strtok_r() doesn't work with x32 vapier at gentoo dot org
  2012-06-13 17:41 ` [Bug libc/14229] " hjl.tools at gmail dot com
  2012-06-14 17:42 ` hjl.tools at gmail dot com
@ 2012-06-14 18:31 ` vapier at gentoo dot org
  2014-06-19 14:31 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: vapier at gentoo dot org @ 2012-06-14 18:31 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14229

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #3 from Mike Frysinger <vapier at gentoo dot org> 2012-06-14 18:31:29 UTC ---
works great!

# lsmod
Module                  Size  Used by
udf                    75868  0
usb_storage            35339  1
dm_mod                 63508  0
xt_tcpudp               2311  2
iptable_filter          1120  1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/14229] strtok_r() doesn't work with x32
  2012-06-13 16:11 [Bug libc/14229] New: strtok_r() doesn't work with x32 vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2012-06-14 18:31 ` vapier at gentoo dot org
@ 2014-06-19 14:31 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-19 14:31 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=14229

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-19 14:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13 16:11 [Bug libc/14229] New: strtok_r() doesn't work with x32 vapier at gentoo dot org
2012-06-13 17:41 ` [Bug libc/14229] " hjl.tools at gmail dot com
2012-06-14 17:42 ` hjl.tools at gmail dot com
2012-06-14 18:31 ` vapier at gentoo dot org
2014-06-19 14:31 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).