bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] HAVE_LIBINTL_H


From: Karl Berry
Subject: Re: [Bug-gnulib] HAVE_LIBINTL_H
Date: Tue, 5 Nov 2002 09:31:29 -0500

    if it takes more than five minutes to reconstruct please
    don't bother,

See below for the list of common files and the script to generate the
diffs, for what it's worth.

Also, more notes from gnulib/config/srclist.txt:
# - libc/sysdeps/generic has memcpy.c, memmove.c, strcasecmp.c, but they
#   are totally different implementations.
# - Likewise libc/string/strerror.c.
# - libc/locale/programs/xstrdup.c is almost usable, but uses the __P
#   prototype macro.


The libc versions of these files ended up being usable, and I run the
gnulib/config/srclist-update script nightly to check for changes:
$LIBCSRC/posix/getopt.c         lib
$LIBCSRC/posix/getopt.h         lib
$LIBCSRC/posix/getopt1.c        lib
$LIBCSRC/string/strdup.c        lib

~karl


>From karl Mon Sep  2 13:50:53 -0400 2002
To: address@hidden
Subject: libc -> gnulib

I am sorry to report that not a single one of the 74 common files in
libc and gnulib are identical.

I looked at the first few.  In some cases, they had nothing in common at
all, so that's fine, they can just be excluded.  In others, though, they
have a common source, but there are (usually) portability differences,
either Ulrich assuming libc/gcc stuff, or gnulib having changes for
multiple systems, or ...  And the license is always different.

So for now, I guess we just go with what we've got.  Fine.

The script is ~karl/bin/gnulib-update-check on fencepost if you want to
take a look.  Seems silly to  send you the 19000 lines of diffs it
generates :), but here are the common files that it found (minus a few
that I excluded), based on the basenames:

libc/crypt/md5.c -> gnulib/lib/md5.c
libc/crypt/md5.h -> gnulib/lib/md5.h
libc/intl/gettext.h -> gnulib/lib/gettext.h
libc/locale/programs/xmalloc.c -> gnulib/lib/xmalloc.c
libc/locale/programs/xstrdup.c -> gnulib/lib/xstrdup.c
libc/malloc/malloc.c -> gnulib/lib/malloc.c
libc/malloc/obstack.c -> gnulib/lib/obstack.c
libc/malloc/obstack.h -> gnulib/lib/obstack.h
libc/misc/dirname.c -> gnulib/lib/dirname.c
libc/misc/error.c -> gnulib/lib/error.c
libc/misc/error.h -> gnulib/lib/error.h
libc/misc/getpass.c -> gnulib/lib/getpass.c
libc/misc/getusershell.c -> gnulib/lib/getusershell.c
libc/misc/mkstemp.c -> gnulib/lib/mkstemp.c
libc/posix/fnmatch.c -> gnulib/lib/fnmatch.c
libc/posix/fnmatch_loop.c -> gnulib/lib/fnmatch_loop.c
libc/posix/getopt.c -> gnulib/lib/getopt.c
libc/posix/getopt.h -> gnulib/lib/getopt.h
libc/posix/getopt1.c -> gnulib/lib/getopt1.c
libc/scripts/install-sh -> gnulib/config/install-sh
libc/scripts/mkinstalldirs -> gnulib/config/mkinstalldirs
libc/stdio-common/getline.c -> gnulib/lib/getline.c
libc/stdlib/atexit.c -> gnulib/lib/atexit.c
libc/stdlib/rpmatch.c -> gnulib/lib/rpmatch.c
libc/stdlib/strtod.c -> gnulib/lib/strtod.c
libc/string/basename.c -> gnulib/lib/basename.c
libc/string/strdup.c -> gnulib/lib/strdup.c
libc/string/strndup.c -> gnulib/lib/strndup.c
libc/string/strverscmp.c -> gnulib/lib/strverscmp.c
libc/sysdeps/generic/bcopy.c -> gnulib/lib/bcopy.c
libc/sysdeps/generic/chown.c -> gnulib/lib/chown.c
libc/sysdeps/generic/dirfd.c -> gnulib/lib/dirfd.c
libc/sysdeps/generic/dup2.c -> gnulib/lib/dup2.c
libc/sysdeps/generic/euidaccess.c -> gnulib/lib/euidaccess.c
libc/sysdeps/generic/ftruncate.c -> gnulib/lib/ftruncate.c
libc/sysdeps/generic/getgroups.c -> gnulib/lib/getgroups.c
libc/sysdeps/generic/gethostname.c -> gnulib/lib/gethostname.c
libc/sysdeps/generic/getloadavg.c -> gnulib/lib/getloadavg.c
libc/sysdeps/generic/gettimeofday.c -> gnulib/lib/gettimeofday.c
libc/sysdeps/generic/lchown.c -> gnulib/lib/lchown.c
libc/sysdeps/generic/memchr.c -> gnulib/lib/memchr.c
libc/sysdeps/generic/memcmp.c -> gnulib/lib/memcmp.c
libc/sysdeps/generic/memcpy.c -> gnulib/lib/memcpy.c
libc/sysdeps/generic/memmove.c -> gnulib/lib/memmove.c
libc/sysdeps/generic/memrchr.c -> gnulib/lib/memrchr.c
libc/sysdeps/generic/memset.c -> gnulib/lib/memset.c
libc/sysdeps/generic/mkdir.c -> gnulib/lib/mkdir.c
libc/sysdeps/generic/nanosleep.c -> gnulib/lib/nanosleep.c
libc/sysdeps/generic/putenv.c -> gnulib/lib/putenv.c
libc/sysdeps/generic/rename.c -> gnulib/lib/rename.c
libc/sysdeps/generic/rmdir.c -> gnulib/lib/rmdir.c
libc/sysdeps/generic/setenv.c -> gnulib/lib/setenv.c
libc/sysdeps/generic/stime.c -> gnulib/lib/stime.c
libc/sysdeps/generic/stpcpy.c -> gnulib/lib/stpcpy.c
libc/sysdeps/generic/strcasecmp.c -> gnulib/lib/strcasecmp.c
libc/sysdeps/generic/strcspn.c -> gnulib/lib/strcspn.c
libc/sysdeps/generic/strnlen.c -> gnulib/lib/strnlen.c
libc/sysdeps/generic/strpbrk.c -> gnulib/lib/strpbrk.c
libc/sysdeps/generic/strstr.c -> gnulib/lib/strstr.c
libc/sysdeps/generic/strtoimax.c -> gnulib/lib/strtoimax.c
libc/sysdeps/generic/strtol.c -> gnulib/lib/strtol.c
libc/sysdeps/generic/strtoll.c -> gnulib/lib/strtoll.c
libc/sysdeps/generic/strtoul.c -> gnulib/lib/strtoul.c
libc/sysdeps/generic/strtoull.c -> gnulib/lib/strtoull.c
libc/sysdeps/generic/strtoumax.c -> gnulib/lib/strtoumax.c
libc/sysdeps/generic/tempname.c -> gnulib/lib/tempname.c
libc/sysdeps/generic/utime.c -> gnulib/lib/utime.c
libc/time/mktime.c -> gnulib/lib/mktime.c
libc/time/strftime.c -> gnulib/lib/strftime.c




reply via email to

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