mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
Declare fsync also for Unix98.
2007-11-26 Ulrich Drepper <drepper@redhat.com> * posix/unistd.h: Declare fsync also for Unix98.
This commit is contained in:
parent
10a4c1e9c6
commit
ae4287f8b2
@ -1,3 +1,7 @@
|
||||
2007-11-26 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* posix/unistd.h: Declare fsync also for Unix98.
|
||||
|
||||
2007-11-25 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nscd/nscd.h (MAX_STACK_USE): Define.
|
||||
|
@ -488,7 +488,7 @@ prune_cache (struct database_dyn *table, time_t now, int fd)
|
||||
}
|
||||
}
|
||||
|
||||
if (__builtin_expect (mark_use_alloca, 0))
|
||||
if (__builtin_expect (! mark_use_alloca, 0))
|
||||
free (mark);
|
||||
|
||||
/* Run garbage collection if any entry has been removed or replaced. */
|
||||
|
@ -915,13 +915,13 @@ extern char *getpass (__const char *__prompt) __nonnull ((1));
|
||||
#endif /* Use BSD || X/Open. */
|
||||
|
||||
|
||||
#if defined __USE_BSD || defined __USE_XOPEN
|
||||
#if defined __USE_BSD || defined __USE_XOPEN || defined __USE_UNIX98
|
||||
/* Make all changes done to FD actually appear on disk.
|
||||
|
||||
This function is a cancellation point and therefore not marked with
|
||||
__THROW. */
|
||||
extern int fsync (int __fd);
|
||||
#endif /* Use BSD || X/Open. */
|
||||
#endif /* Use BSD || X/Open || Unix98. */
|
||||
|
||||
|
||||
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
|
||||
|
Loading…
Reference in New Issue
Block a user