]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
update from main archive 960922 cvs/libc-960923
authorUlrich Drepper <drepper@redhat.com>
Mon, 23 Sep 1996 00:24:55 +0000 (00:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 23 Sep 1996 00:24:55 +0000 (00:24 +0000)
Sun Sep 22 15:18:41 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/init-first.c: Define dummy function
  `_dl_start' so that linking fails if this file should ever be used
  in ld.so.

* catgets/gencat.c (main): Change --version message according to
  RMS' last standard revision.
* db/makedb.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.

(__get_nproc_conf): New function.

ChangeLog
catgets/gencat.c
db/makedb.c
locale/programs/locale.c
locale/programs/localedef.c
sysdeps/unix/sysv/linux/init-first.c

index 3267bd6e23d1ea0eec13224ff049960882850e38..b538fa6096f326ea23489e12a95da97fd18576af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,19 @@
+Sun Sep 22 15:18:41 1996  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
+       `_dl_start' so that linking fails if this file should ever be used
+       in ld.so.
+
+       * catgets/gencat.c (main): Change --version message according to
+       RMS' last standard revision.
+       * db/makedb.c: Likewise.
+       * locale/programs/locale.c: Likewise.
+       * locale/programs/localedef.c: Likewise.
+
 Sat Sep 21 23:42:39 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
 
        * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
-       (__get_nproc_conf): New function.
+       (__get_nproc_conf): New function.
 
 Sun Sep 22 03:40:52 1996  Ulrich Drepper  <drepper@cygnus.com>
 
index 55fea2ef4fad8b72b6f05744ab91f82bbdbdf211..7ba9258be3550b7de49f6e6bec5d6eea58d5ebaf 100644 (file)
@@ -165,8 +165,15 @@ main (int argc, char *argv[])
   /* Version information is requested.  */
   if (do_version)
     {
-      fprintf (stderr, "%s - GNU %s %s\n", program_invocation_name,
-              PACKAGE, VERSION);
+      fprintf (stderr, "gencat - GNU %s %s\n", PACKAGE, VERSION);
+      fprintf (stderr, _("\
+Copyright (C) %s Free Software Foundation, Inc.\n\
+This is free software; see the source for copying conditions.  There is NO\n\
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
+"), "1996");
+      fprintf (stderr, _("Written by %s\n"),
+              "Ulrich Drepper <drepper@cygnus.com>");
+
       exit (EXIT_SUCCESS);
     }
 
index a62e3d848bf5db00ab7513d33e6b13e34c7bfe1f..cfe6aed157262692dc3b9237054fa05cd7801b62 100644 (file)
@@ -114,7 +114,18 @@ main (argc, argv)
 
   /* Version information is requested.  */
   if (do_version)
-    printf ("%s - GNU %s %s\n", program_invocation_name, PACKAGE, VERSION);
+    {
+      fprintf (stderr, "makedb - GNU %s %s\n", PACKAGE, VERSION);
+      fprintf (stderr, _("\
+Copyright (C) %s Free Software Foundation, Inc.\n\
+This is free software; see the source for copying conditions.  There is NO\n\
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
+"), "1996");
+      fprintf (stderr, _("Written by %s\n"),
+              "Ulrich Drepper <drepper@cygnus.com>");
+
+      exit (EXIT_SUCCESS);
+    }
 
   /* Help is requested.  */
   if (do_help)
index df11e1efdff4f8d8a5f27edaa2700bf700c15b51..ea15c876389a7a57ef3007ab9ca0ba08f8e7d3bd 100644 (file)
@@ -183,7 +183,15 @@ main (int argc, char *argv[])
   /* Version information is requested.  */
   if (do_version)
     {
-      fprintf (stderr, "%s - GNU %s %s\n", __progname, PACKAGE, VERSION);
+      fprintf (stderr, "locale - GNU %s %s\n", PACKAGE, VERSION);
+      fprintf (stderr, _("\
+Copyright (C) %s Free Software Foundation, Inc.\n\
+This is free software; see the source for copying conditions.  There is NO\n\
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
+"), "1995, 1996");
+      fprintf (stderr, _("Written by %s\n"),
+              "Ulrich Drepper <drepper@cygnus.com>");
+
       exit (EXIT_SUCCESS);
     }
 
index 9df5d128de05986bacb35bcedf4dc8e4528a079d..1eae6e75d002e890b8dfda30ba0886c2ee888a3a 100644 (file)
@@ -173,8 +173,15 @@ main (int argc, char *argv[])
   /* Version information is requested.  */
   if (do_version)
     {
-      fprintf (stderr, "%s - GNU %s %s\n", program_invocation_short_name,
-              PACKAGE, VERSION);
+      fprintf (stderr, "localedef - GNU %s %s\n", PACKAGE, VERSION);
+      fprintf (stderr, _("\
+Copyright (C) %s Free Software Foundation, Inc.\n\
+This is free software; see the source for copying conditions.  There is NO\n\
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
+"), "1995, 1996");
+      fprintf (stderr, _("Written by %s\n"),
+              "Ulrich Drepper <drepper@cygnus.com>");
+
       exit (0);
     }
 
index 9f0a3c0f51292f2b81b76ef3f16d30e8fffa71ba..75ada19610d2290e1d7d158c6c9c46f0c6f7ea89 100644 (file)
@@ -87,3 +87,15 @@ __libc_init_first (void)
 SYSDEP_CALL_INIT(__libc_init_first, init);
 
 #endif
+
+
+/* This function is defined here so that if this file ever gets into
+   ld.so we will get a link error.  Having this file silently included
+   in ld.so causes disaster, because the _init definition above will
+   cause ld.so to gain an init function, which is not a cool thing. */
+
+void
+_dl_start ()
+{
+  abort ();
+}