# HG changeset patch # User Paul Eggert # Date 1085902174 0 # Node ID d4c310e7951fd7bfc0611a6cf83044695982d2e2 # Parent d7698ffc0e5e6ebcf8bcb6d70c4e24a564f61893 Mention that the 'free' module, LIA-1. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-05-30 Paul Eggert + + * README: Mention that the 'free' module works around the + problem with 'free (0)'. + Mention LIA-1 and C99. + Add a copyright notice. + 2004-05-17 Derek R. Price Paul Eggert diff --git a/README b/README --- a/README +++ b/README @@ -112,6 +112,8 @@ Even if the include files conform to C89, the library itself may not. For example, SunOS 4's (free (NULL)) can dump core, so GNULib code must avoid freeing a null pointer, even though C89 allows it. +You can work around some of these problems by requiring the relevant +modules, e.g., the GNULib 'free' module supplies a conforming 'free'. The GNU coding standards allow one departure from strict C99: GNULib code can assume that standard internal types like size_t are no wider @@ -120,7 +122,9 @@ as well. GNULib code makes the following additional assumptions: * Signed integer arithmetic is two's complement, without runtime - overflow checking. + overflow checking. This is the traditional behavior, and is + supported by C99 implementations that conform to ISO/IEC 10967-1 + (LIA-1) and that define signed integer types as being modulo. * There are no "holes" in integer values: all the bits of an integer contribute to its value in the usual way. @@ -174,3 +178,21 @@ (Just hit Enter or Return when prompt for a password) $ cvs -d :pserver:anoncvs@cvs.gnu.org:/cvsroot/gnulib checkout gnulib + +----- + +Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. + +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. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */