posix_fadvise change

Jakub Jelinek jakub@redhat.com
Sat Aug 16 12:51:00 GMT 2003


On Sat, Aug 16, 2003 at 11:17:45AM +0200, Andreas Jaeger wrote:
> 
> You missed at least the following two changes.  I'll commmit them
> now.  Tested on x86_64-linux-gnu.
> 
> Andreas
> 
> 2003-08-16  Andreas Jaeger  <aj@suse.de>
> 
> 	* sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
> 	* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.

Well, not only that, it should be changed to
  return ENOSYS;
instead of
  __set_errno (ENOSYS);
  return -1;
as well.
Forgot to put that into my patch.

	Jakub



More information about the Libc-hacker mailing list