+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]
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
break; \
default: \
break; \
- case '\x80' ... '\xff': \
+ case 0x80 ... 0xff: \
/* Illegal character. */ \
failure = GCONV_ILLEGAL_INPUT; \
break; \
/* 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.
# 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'.''
@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.} */
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);
@}
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));