bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] README change for gnulib


From: Paul Eggert
Subject: [Bug-gnulib] README change for gnulib
Date: Sun, 30 May 2004 00:48:40 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

I installed this:

2004-05-30  Paul Eggert  <address@hidden>

        * README: Mention that the 'free' module works around the
        problem with 'free (0)'.
        Mention LIA-1 and C99.
        Add a copyright notice.

--- README.~1.9.~       2003-11-17 13:47:16 -0800
+++ README      2004-05-30 00:20:29 -0700
@@ -112,6 +112,8 @@ should use fixincludes or fix their incl
 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 @@ require 'int' to be at least 32 bits wid
 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 @@ $ cvs -d :pserver:address@hidden:/c
 (Just hit Enter or Return when prompt for a password)
 $ cvs -d :pserver:address@hidden:/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.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]