X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrtoimax.c;h=497d15585ced3f20912e9e1a579646f2027c012d;hb=d4d84c1d916f5bff3bb72be92e9d1383a25077c1;hp=82dc4f0d75fbef355d391905ac86cb94845f42f0;hpb=5895949afc4e15c93ca6d15449692e3931c1ac26;p=gnulib.git diff --git a/lib/strtoimax.c b/lib/strtoimax.c index 82dc4f0d7..497d15585 100644 --- a/lib/strtoimax.c +++ b/lib/strtoimax.c @@ -1,12 +1,12 @@ /* Convert string representation of a number into an intmax_t value. - Copyright (C) 1999, 2001, 2002, 2003, 2004, 2006 Free Software - Foundation, Inc. + Copyright (C) 1999, 2001-2004, 2006, 2009-2011 Free Software Foundation, + Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -14,8 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ /* Written by Paul Eggert. */ @@ -64,7 +63,7 @@ strtoimax (char const *ptr, char **endptr, int base) { #if Have_long_long verify (sizeof (Int) == sizeof (Unsigned long int) - || sizeof (Int) == sizeof (Unsigned long long int)); + || sizeof (Int) == sizeof (Unsigned long long int)); if (sizeof (Int) != sizeof (Unsigned long int)) return strtoll (ptr, endptr, base);