mirror of git://sourceware.org/git/glibc.git
Update.
* posix/annexc.c: Correct test for unavailable feature.
This commit is contained in:
parent
48bde9c35c
commit
b4f48b41b4
|
@ -1,5 +1,7 @@
|
||||||
2000-08-27 Ulrich Drepper <drepper@redhat.com>
|
2000-08-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* posix/annexc.c: Correct test for unavailable feature.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
|
* sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
|
||||||
__inline.
|
__inline.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1998 Free Software Foundation, Inc.
|
/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -618,7 +618,7 @@ echo \"#include <%s>\" |\
|
||||||
-isystem `%s --print-prog-name=include` - > %s";
|
-isystem `%s --print-prog-name=include` - > %s";
|
||||||
|
|
||||||
static const char testfmt[] = "\
|
static const char testfmt[] = "\
|
||||||
echo \"#include <unistd.h>\n#ifndef %s\n#error not defined\n#endif\n\" |\
|
echo \"#include <unistd.h>\n#if !defined %s || %s == -1\n#error not defined\n#endif\n\" |\
|
||||||
%s -E -dM -D_POSIX_SOURCE -D_LIBC %s \
|
%s -E -dM -D_POSIX_SOURCE -D_LIBC %s \
|
||||||
-isystem `%s --print-prog-name=include` - 2> /dev/null > %s";
|
-isystem `%s --print-prog-name=include` - 2> /dev/null > %s";
|
||||||
|
|
||||||
|
@ -814,7 +814,8 @@ check_header (const struct header *header, const char **except)
|
||||||
/* First see whether this subset is supported at all. */
|
/* First see whether this subset is supported at all. */
|
||||||
if (header->subset != NULL)
|
if (header->subset != NULL)
|
||||||
{
|
{
|
||||||
sprintf (line, testfmt, header->subset, CC, INC, CC, TMPFILE);
|
sprintf (line, testfmt, header->subset, header->subset, CC, INC, CC,
|
||||||
|
TMPFILE);
|
||||||
if (xsystem (line))
|
if (xsystem (line))
|
||||||
{
|
{
|
||||||
printf ("!! not available\n");
|
printf ("!! not available\n");
|
||||||
|
|
Loading…
Reference in New Issue