#!/bin/sh
-# $Id: srclist-update,v 1.4 2002-11-25 13:17:17 meyering Exp $
+# $Id: srclist-update,v 1.5 2002-11-26 22:58:57 karl Exp $
#
# Check for files in directory $1 being up to date, according to the
# list on stdin. Don't actually make any changes, just show the diffs.
verbose=false
#chicken="echo (would)"
-srctmp=${TMPDIR-/tmp}/srclist.src
-dsttmp=${TMPDIR-/tmp}/srclist.dst
+: ${TMPDIR=/tmp}
+srctmp=$TMPDIR/srclist.src
+dsttmp=$TMPDIR/srclist.dst
mydir=`dirname $0`
test -r $mydir/srclistvars.sh && . $mydir/srclistvars.sh
-# $Id: srclist.txt,v 1.10 2002-11-25 22:24:53 karl Exp $
+# $Id: srclist.txt,v 1.11 2002-11-26 22:58:57 karl Exp $
# Files for which we are not the source. See ./srclistvars.sh for the
# variable definitions.
$LIBCSRC/posix/getopt.h lib gpl
$LIBCSRC/posix/getopt1.c lib gpl
$LIBCSRC/posix/regex.h lib gpl
-#$LIBCSRC/string/strdup.c lib gpl
+$LIBCSRC/string/strdup.c lib gpl
$LIBCSRC/time/mktime.c lib gpl
#
# - libc/sysdeps/generic has memcpy.c, memmove.c, strcasecmp.c, but they
obstack.h
regex.c
regex.h
+strdup.c
+2002-11-26 <karl@gnu.org>
+
+ * strdup.c: copy from libc again, with jim's ok.
+ * .cppi-disable: re-add strdup.c
+
2002-11-25 <karl@gnu.org>
* strtoll.c: copy from libc, meaning we now #include <strtol.c>
with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#if HAVE_CONFIG_H
-# include <config.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
#endif
#if defined _LIBC || defined STDC_HEADERS
# define __strdup strdup
#endif
-/* Duplicate S, returning an identical malloc'd string.
- Return NULL if out of memory. */
-
+/* Duplicate S, returning an identical malloc'd string. */
char *
__strdup (const char *s)
{