]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 28 Apr 1998 09:57:10 +0000 (09:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 28 Apr 1998 09:57:10 +0000 (09:57 +0000)
1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
instead of do-iconv-test.
($(objpfx)gconv-modules): Define rule only if objpfx is not
empty.

1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/string.h: Fix feature test.

1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/iso646.c (BODY): Don't use character constants that
depend on signedness of char.

ChangeLog
iconvdata/Makefile
iconvdata/iso646.c
intl/dcgettext.c
manual/stdio.texi
string/string.h

index 9cbdb3b0782424bddf768718ed3a0972ffb245c6..9db145ae7a604c11fc0ec9e08e03a3b1c18d7a27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
+       instead of do-iconv-test.
+       ($(objpfx)gconv-modules): Define rule only if objpfx is not
+       empty.
+
+1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * string/string.h: Fix feature test.
+
+1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * iconvdata/iso646.c (BODY): Don't use character constants that
+       depend on signedness of char.
+
 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
index 80d9a08a9738f85ff0c6fe24ae20079b47554a6d..56cef22705eb9dc08438a0c49b6363e559a8978f 100644 (file)
@@ -475,13 +475,14 @@ endif
 
 include ../Rules
 
-.PHONY: do-iconv-test
-tests: do-iconv-test
+tests: $(objpfx)iconv-test.out
 
-do-iconv-test: run-iconv-test.sh $(objpfx)gconv-modules \
-              $(addprefix $(objpfx),$(modules.so)) \
-              $(common-objdir)/iconv/iconv_prog
-       $(SHELL) -e $< $(common-objdir) > $(objpfx)iconv-test.out
+$(objpfx)iconv-test.out: run-iconv-test.sh $(objpfx)gconv-modules \
+                        $(addprefix $(objpfx),$(modules.so)) \
+                        $(common-objdir)/iconv/iconv_prog 
+       $(SHELL) -e $< $(common-objdir) > $@
 
+ifdef objpfx
 $(objpfx)gconv-modules: gconv-modules
        cp $^ $@
+endif
index d3eaa7783473b7b66b12425f03f1c1e6a86ecf41..29a452d112f52e51cb222721995801186f04152a 100644 (file)
@@ -391,7 +391,7 @@ gconv_end (struct gconv_step *data)
        break;                                                                \
       default:                                                               \
        break;                                                                \
-      case '\x80' ... '\xff':                                                \
+      case 0x80 ... 0xff:                                                    \
        /* Illegal character.  */                                             \
        failure = GCONV_ILLEGAL_INPUT;                                        \
        break;                                                                \
index 3557202ea567abe1524ee705b16b8deb664fc833..a79c1f52e2975130949323788ca269a5c1257640 100644 (file)
@@ -1,5 +1,5 @@
 /* Implementation of the dcgettext(3) function.
-   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
 
    This file is part of the GNU C Library.  Its master source is NOT part of
    the C library, however.
@@ -142,10 +142,6 @@ static char *stpcpy PARAMS ((char *dest, const char *src));
 # define PATH_MAX _POSIX_PATH_MAX
 #endif
 
-#ifndef internal_function
-# define internal_function
-#endif
-
 /* XPG3 defines the result of `setlocale (category, NULL)' as:
    ``Directs `setlocale()' to query `category' and return the current
      setting of `local'.''
index 7b56787e957524c70356cbdaf6e8c26a5167317a..84b2ffd1cb5d70fa1b34a07ac73c653e346b6105 100644 (file)
@@ -1545,12 +1545,12 @@ make_message (char *name, char *value)
 @group
   if (nchars >= size)
     @{
-      /* @r{Reallocate buffer now that we know 
+      /* @r{Reallocate buffer now that we know
          how much space is needed.} */
       buffer = (char *) xrealloc (buffer, nchars + 1);
 
       /* @r{Try again.} */
-      snprintf (buffer, size, "value of %s is %s", 
+      snprintf (buffer, size, "value of %s is %s",
                 name, value);
     @}
   /* @r{The last call worked, return the string.} */
@@ -1727,7 +1727,7 @@ eprintf (const char *template, ...)
   extern char *program_invocation_short_name;
 
   fprintf (stderr, "%s: ", program_invocation_short_name);
-  va_start (ap, count);
+  va_start (ap, template);
   vfprintf (stderr, template, ap);
   va_end (ap);
 @}
index 15491f862961e4d025ca7ce0ccb8ec9b4f3ec1f2..266a5d518e98f351a53b923db54bc29f6deddd71 100644 (file)
@@ -216,8 +216,7 @@ extern char *strerror_r __P ((int __errnum, char *__buf, size_t __buflen));
    the namespace rules does not allow this.  */
 extern void __bzero __P ((__ptr_t __s, size_t __n));
 
-#if defined __USE_BSD || (defined __USE_XOPEN_EXTENDED \
-                         && (_POSIX_C_SOURCE - 0) < 199506L)
+#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 /* Copy N bytes of SRC to DEST (like memmove, but args reversed).  */
 extern void bcopy __P ((__const __ptr_t __src, __ptr_t __dest, size_t __n));