mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS
instead of setting errno. * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. 2003-08-16 Jakub Jelinek <jakub@redhat.com>, Andreas Jaeger <aj@suse.de> * sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS instead of setting errno. * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
This commit is contained in:
parent
4a4ac20bb6
commit
878edcefb8
@ -1,3 +1,10 @@
|
||||
2003-08-16 Jakub Jelinek <jakub@redhat.com>,
|
||||
Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS
|
||||
instead of setting errno.
|
||||
* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
|
||||
|
||||
2003-08-16 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
|
||||
|
@ -25,8 +25,7 @@
|
||||
int
|
||||
posix_fadvise (int fd, __off_t offset, __off_t len, int advise)
|
||||
{
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
return ENOSYS;
|
||||
}
|
||||
stub_warning (posix_fadvise)
|
||||
#include <stub-tag.h>
|
||||
|
@ -25,8 +25,7 @@
|
||||
int
|
||||
posix_fadvise64 (int fd, __off64_t offset, __off64_t len, int advise)
|
||||
{
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
return ENOSYS;
|
||||
}
|
||||
stub_warning (posix_fadvise64)
|
||||
#include <stub-tag.h>
|
||||
|
Loading…
Reference in New Issue
Block a user