diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-23 22:34:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-23 22:34:22 +0000 |
commit | ef5166a66965fbbe024746d7a5fcefe424f4d8b7 (patch) | |
tree | ba0d607eea415adc73966ad77bc6886c6dffe339 /sysdeps/i386/strtok.S | |
parent | d436a9f71094ec7fc8e946058af20a1c167df791 (diff) | |
download | glibc-ef5166a66965fbbe024746d7a5fcefe424f4d8b7.tar.gz glibc-ef5166a66965fbbe024746d7a5fcefe424f4d8b7.tar.xz glibc-ef5166a66965fbbe024746d7a5fcefe424f4d8b7.zip |
Update.
2001-02-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/strtok.S: Continue to return NULL after the first time this happened.
Diffstat (limited to 'sysdeps/i386/strtok.S')
-rw-r--r-- | sysdeps/i386/strtok.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/i386/strtok.S b/sysdeps/i386/strtok.S index ff8980a924..19af2b1c9e 100644 --- a/sysdeps/i386/strtok.S +++ b/sysdeps/i386/strtok.S @@ -1,6 +1,6 @@ /* strtok (str, delim) -- Return next DELIM separated token from STR. For Intel 80x86, x>=3. - Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -113,6 +113,8 @@ L(0): movl SAVE_PTR, %edx we have to take care for PIC code. */ movl SAVE_PTR, %edx #endif + testl %edx, %edx + jz L(returnNULL) L(1): /* First we create a table with flags for all possible characters. |