mirror of git://sourceware.org/git/glibc.git
Update.
* io/sys/stat.h: Define S_IFSOCK for XPG6. * conform/data/fcntl.h-data: posix_madvise is not expected here.
This commit is contained in:
parent
7cc9fcf4fd
commit
1e4380f8fc
|
|
@ -1,5 +1,9 @@
|
||||||
2001-01-26 Ulrich Drepper <drepper@redhat.com>
|
2001-01-26 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* io/sys/stat.h: Define S_IFSOCK for XPG6.
|
||||||
|
|
||||||
|
* conform/data/fcntl.h-data: posix_madvise is not expected here.
|
||||||
|
|
||||||
* conform/conformtest.pl: Fix handling of macro-str.
|
* conform/conformtest.pl: Fix handling of macro-str.
|
||||||
|
|
||||||
* conform/data/inttypes.h-data: Add missing definition and all of
|
* conform/data/inttypes.h-data: Add missing definition and all of
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ constant F_WRLCK
|
||||||
|
|
||||||
constant SEEK_SET
|
constant SEEK_SET
|
||||||
constant SEEK_CUR
|
constant SEEK_CUR
|
||||||
constant SEED_END
|
constant SEEK_END
|
||||||
|
|
||||||
constant O_CREAT
|
constant O_CREAT
|
||||||
constant O_EXCL
|
constant O_EXCL
|
||||||
|
|
@ -89,7 +89,6 @@ function int open (const char*, int, ...)
|
||||||
#ifdef XOPEN2K
|
#ifdef XOPEN2K
|
||||||
function int posix_fadvise (int, off_t, size_t, int)
|
function int posix_fadvise (int, off_t, size_t, int)
|
||||||
function int posix_fallocate (int, off_t, size_t)
|
function int posix_fallocate (int, off_t, size_t)
|
||||||
function int posix_madvise (void*, size_t, int)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
allow-header sys/stat.h
|
allow-header sys/stat.h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991, 92, 1995-1999, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 92, 1995-1999, 2000, 2001 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
|
||||||
|
|
@ -109,7 +109,8 @@ __BEGIN_DECLS
|
||||||
# ifdef __S_IFLNK
|
# ifdef __S_IFLNK
|
||||||
# define S_IFLNK __S_IFLNK
|
# define S_IFLNK __S_IFLNK
|
||||||
# endif
|
# endif
|
||||||
# if (defined __USE_BSD || defined __USE_MISC) && defined __S_IFSOCK
|
# if (defined __USE_BSD || defined __USE_MISC || defined __USE_XOPEN2K) \
|
||||||
|
&& defined __S_IFSOCK
|
||||||
# define S_IFSOCK __S_IFSOCK
|
# define S_IFSOCK __S_IFSOCK
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue