From 17cff0324d966b592b2257acd0e65014fed01c70 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 19 Nov 2002 19:42:05 +0000 Subject: [PATCH] Fix strtull/strtoull type in docs (#99012, Morten Welinder.) Add copyright Tue Nov 19 14:38:18 2002 Owen Taylor * glib/gstrfuncs.c (g_ascii_strtoull): Fix strtull/strtoull type in docs (#99012, Morten Welinder.) Add copyright information for code taken from GNU libc. --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-12 | 7 +++++++ ChangeLog.pre-2-2 | 7 +++++++ ChangeLog.pre-2-4 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ glib/gstrfuncs.c | 7 +++++-- 8 files changed, 54 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf9e1db..9d25c46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Nov 19 14:38:18 2002 Owen Taylor + + * 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 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index cf9e1db..9d25c46 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Tue Nov 19 14:38:18 2002 Owen Taylor + + * 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 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index cf9e1db..9d25c46 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,10 @@ +Tue Nov 19 14:38:18 2002 Owen Taylor + + * 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 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index cf9e1db..9d25c46 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Tue Nov 19 14:38:18 2002 Owen Taylor + + * 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 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index cf9e1db..9d25c46 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Tue Nov 19 14:38:18 2002 Owen Taylor + + * 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 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index cf9e1db..9d25c46 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Tue Nov 19 14:38:18 2002 Owen Taylor + + * 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 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index cf9e1db..9d25c46 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Tue Nov 19 14:38:18 2002 Owen Taylor + + * 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 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index 591686a..ebe9981 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -588,7 +588,7 @@ g_ascii_formatd (gchar *buffer, * @base: to be used for the conversion, 2..36 or 0 * * 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 * changing the current locale, since that would not be * thread-safe. @@ -608,8 +608,11 @@ g_ascii_strtoull (const gchar *nptr, gchar **endptr, 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. + * + * 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' || \ (c) == '\r' || (c) == '\t' || (c) == '\v') -- 2.7.4