Fix strtull/strtoull type in docs (#99012, Morten Welinder.) Add copyright

Tue Nov 19 14:38:18 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gstrfuncs.c (g_ascii_strtoull): Fix
        strtull/strtoull type in docs (#99012, Morten
        Welinder.) Add copyright information for code
        taken from GNU libc.
This commit is contained in:
Owen Taylor 2002-11-19 19:42:05 +00:00 committed by Owen Taylor
parent a79b8073aa
commit 17cff0324d
8 changed files with 54 additions and 2 deletions

View File

@ -1,3 +1,10 @@
Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Fix
strtull/strtoull type in docs (#99012, Morten
Welinder.) Add copyright information for code
taken from GNU libc.
2002-11-18 Tor Lillqvist <tml@iki.fi> 2002-11-18 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle

View File

@ -1,3 +1,10 @@
Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Fix
strtull/strtoull type in docs (#99012, Morten
Welinder.) Add copyright information for code
taken from GNU libc.
2002-11-18 Tor Lillqvist <tml@iki.fi> 2002-11-18 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle

View File

@ -1,3 +1,10 @@
Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Fix
strtull/strtoull type in docs (#99012, Morten
Welinder.) Add copyright information for code
taken from GNU libc.
2002-11-18 Tor Lillqvist <tml@iki.fi> 2002-11-18 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle

View File

@ -1,3 +1,10 @@
Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Fix
strtull/strtoull type in docs (#99012, Morten
Welinder.) Add copyright information for code
taken from GNU libc.
2002-11-18 Tor Lillqvist <tml@iki.fi> 2002-11-18 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle

View File

@ -1,3 +1,10 @@
Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Fix
strtull/strtoull type in docs (#99012, Morten
Welinder.) Add copyright information for code
taken from GNU libc.
2002-11-18 Tor Lillqvist <tml@iki.fi> 2002-11-18 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle

View File

@ -1,3 +1,10 @@
Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Fix
strtull/strtoull type in docs (#99012, Morten
Welinder.) Add copyright information for code
taken from GNU libc.
2002-11-18 Tor Lillqvist <tml@iki.fi> 2002-11-18 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle

View File

@ -1,3 +1,10 @@
Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Fix
strtull/strtoull type in docs (#99012, Morten
Welinder.) Add copyright information for code
taken from GNU libc.
2002-11-18 Tor Lillqvist <tml@iki.fi> 2002-11-18 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle

View File

@ -588,7 +588,7 @@ g_ascii_formatd (gchar *buffer,
* @base: to be used for the conversion, 2..36 or 0 * @base: to be used for the conversion, 2..36 or 0
* *
* Converts a string to a #guint64 value. * Converts a string to a #guint64 value.
* This function behaves like the standard strtull() function * This function behaves like the standard strtoull() function
* does in the C locale. It does this without actually * does in the C locale. It does this without actually
* changing the current locale, since that would not be * changing the current locale, since that would not be
* thread-safe. * thread-safe.
@ -608,8 +608,11 @@ g_ascii_strtoull (const gchar *nptr,
gchar **endptr, gchar **endptr,
guint base) guint base)
{ {
/* this code is based on on the strtol(3) code from GLibC released under /* this code is based on on the strtol(3) code from GNU libc released under
* the GNU Lesser General Public License. * the GNU Lesser General Public License.
*
* Copyright (C) 1991,92,94,95,96,97,98,99,2000,01,02
* Free Software Foundation, Inc.
*/ */
#define ISSPACE(c) ((c) == ' ' || (c) == '\f' || (c) == '\n' || \ #define ISSPACE(c) ((c) == ' ' || (c) == '\f' || (c) == '\n' || \
(c) == '\r' || (c) == '\t' || (c) == '\v') (c) == '\r' || (c) == '\t' || (c) == '\v')