[prev in list] [next in list] [prev in thread] [next in thread] 

List:       prelude-cvslog
Subject:    [prelude-cvslog] r8504 - trunk/libprelude/libmissing
From:       noreply () prelude-ids ! org
Date:       2006-09-14 11:34:16
Message-ID: 20060914113416.88A6ED554AF () mail ! prelude-ids ! org
[Download RAW message or body]

Author: yoann
Date: 2006-09-14 13:34:16 +0200 (Thu, 14 Sep 2006)
New Revision: 8504

Modified:
   trunk/libprelude/libmissing/Makefile.am
   trunk/libprelude/libmissing/alloca.c
   trunk/libprelude/libmissing/gai_strerror.c
   trunk/libprelude/libmissing/inet_ntop.c
   trunk/libprelude/libmissing/malloc.c
   trunk/libprelude/libmissing/memchr.c
   trunk/libprelude/libmissing/regex.c
   trunk/libprelude/libmissing/snprintf.c
   trunk/libprelude/libmissing/strdup.c
   trunk/libprelude/libmissing/strndup.c
   trunk/libprelude/libmissing/strnlen.c
   trunk/libprelude/libmissing/strpbrk.c
   trunk/libprelude/libmissing/time_r.c
   trunk/libprelude/libmissing/timegm.c
Log:
GnuLib code update.

Modified: trunk/libprelude/libmissing/Makefile.am
===================================================================
--- trunk/libprelude/libmissing/Makefile.am	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/Makefile.am	2006-09-14 11:34:16 UTC (rev 8504)
@@ -15,7 +15,7 @@
 noinst_LTLIBRARIES = libmissing.la
 
 libmissing_la_SOURCES =
-libmissing_la_LIBADD = @LTLIBOBJS@
+libmissing_la_LIBADD = $(LTLIBOBJS)
 libmissing_la_LDFLAGS = $(AM_LDFLAGS)
 noinst_HEADERS =
 EXTRA_DIST =

Modified: trunk/libprelude/libmissing/alloca.c
===================================================================
--- trunk/libprelude/libmissing/alloca.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/alloca.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -21,9 +21,7 @@
    allocating any.  It is a good idea to use alloca(0) in
    your main control loop, etc. to force garbage collection.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include <alloca.h>
 

Modified: trunk/libprelude/libmissing/gai_strerror.c
===================================================================
--- trunk/libprelude/libmissing/gai_strerror.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/gai_strerror.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -16,11 +16,8 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #ifndef _LIBC
+# include <config.h>
 # include "getaddrinfo.h"
 #endif
 

Modified: trunk/libprelude/libmissing/inet_ntop.c
===================================================================
--- trunk/libprelude/libmissing/inet_ntop.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/inet_ntop.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -1,6 +1,7 @@
 /* inet_ntop.c -- convert IPv4 and IPv6 addresses from binary to text form
-   Copyright (c) 2005, 2006  Free Software Foundation, Inc.
 
+   Copyright (C) 2005, 2006  Free Software Foundation, Inc.
+
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation; either version 2.1, or (at your option)
@@ -32,9 +33,7 @@
  * SOFTWARE.
  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Specification.  */
 #include "inet_ntop.h"

Modified: trunk/libprelude/libmissing/malloc.c
===================================================================
--- trunk/libprelude/libmissing/malloc.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/malloc.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -1,6 +1,7 @@
 /* malloc() function that is glibc compatible.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
 
+   Copyright (C) 1997, 1998, 2006 Free Software Foundation, Inc.
+
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation; either version 2.1, or (at your option)
@@ -17,9 +18,7 @@
 
 /* written by Jim Meyering */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 #undef malloc
 
 #include <stdlib.h>

Modified: trunk/libprelude/libmissing/memchr.c
===================================================================
--- trunk/libprelude/libmissing/memchr.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/memchr.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1996, 1997, 1999, 2000, 2003, 2004 Free
+/* Copyright (C) 1991, 1993, 1996, 1997, 1999, 2000, 2003, 2004, 2006 Free
    Software Foundation, Inc.
 
    Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
@@ -24,7 +24,7 @@
 along with this program; if not, write to the Free Software Foundation,
 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
+#ifndef _LIBC
 # include <config.h>
 #endif
 

Modified: trunk/libprelude/libmissing/regex.c
===================================================================
--- trunk/libprelude/libmissing/regex.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/regex.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -17,9 +17,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Make sure noone compiles this code with a C++ compiler.  */
 #if defined __cplusplus && defined _LIBC

Modified: trunk/libprelude/libmissing/snprintf.c
===================================================================
--- trunk/libprelude/libmissing/snprintf.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/snprintf.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -16,9 +16,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "snprintf.h"
 

Modified: trunk/libprelude/libmissing/strdup.c
===================================================================
--- trunk/libprelude/libmissing/strdup.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/strdup.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -1,5 +1,5 @@
-/* Copyright (C) 1991, 1996, 1997, 1998, 2002, 2003, 2004 Free Software
-   Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1997, 1998, 2002, 2003, 2004, 2006 Free
+   Software Foundation, Inc.
 
    This file is part of the GNU C Library.
 
@@ -17,11 +17,8 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #ifndef _LIBC
+# include <config.h>
 /* Get specification.  */
 # include "strdup.h"
 #endif

Modified: trunk/libprelude/libmissing/strndup.c
===================================================================
--- trunk/libprelude/libmissing/strndup.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/strndup.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -18,10 +18,8 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
 #if !_LIBC
+# include <config.h>
 # include "strndup.h"
 #endif
 

Modified: trunk/libprelude/libmissing/strnlen.c
===================================================================
--- trunk/libprelude/libmissing/strnlen.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/strnlen.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -16,9 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "strnlen.h"
 

Modified: trunk/libprelude/libmissing/strpbrk.c
===================================================================
--- trunk/libprelude/libmissing/strpbrk.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/strpbrk.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -1,4 +1,6 @@
-/* Copyright (C) 1991, 1994, 2000, 2002-2003 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1994, 2000, 2002-2003, 2006 Free Software
+   Foundation, Inc.
+
    NOTE: The canonical source of this file is maintained with the GNU C Library.
    Bugs can be reported to bug-glibc@prep.ai.mit.edu.
 
@@ -16,9 +18,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include <stddef.h>
 #include <string.h>

Modified: trunk/libprelude/libmissing/time_r.c
===================================================================
--- trunk/libprelude/libmissing/time_r.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/time_r.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -18,9 +18,7 @@
 
 /* Written by Paul Eggert.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "time_r.h"
 

Modified: trunk/libprelude/libmissing/timegm.c
===================================================================
--- trunk/libprelude/libmissing/timegm.c	2006-09-14 11:32:55 UTC (rev 8503)
+++ trunk/libprelude/libmissing/timegm.c	2006-09-14 11:34:16 UTC (rev 8504)
@@ -1,7 +1,7 @@
 /* Convert UTC calendar time to simple time.  Like mktime but assumes UTC.
 
-   Copyright (C) 1994, 1997, 2003, 2004 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
+   Copyright (C) 1994, 1997, 2003, 2004, 2006 Free Software
+   Foundation, Inc.  This file is part of the GNU C Library.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -17,13 +17,10 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #ifdef _LIBC
 # include <time.h>
 #else
+# include <config.h>
 # include "timegm.h"
 # include <time_r.h>
 # undef __gmtime_r


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic