posix_fadvise change
Andreas Jaeger
aj@suse.de
Sat Aug 16 09:17:00 GMT 2003
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.
============================================================
Index: sysdeps/generic/posix_fadvise.c
--- sysdeps/generic/posix_fadvise.c 6 Jul 2001 04:55:49 -0000 1.2
+++ sysdeps/generic/posix_fadvise.c 16 Aug 2003 09:15:29 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@
respect to the file associated with FD. */
int
-posix_fadvise (int fd, __off_t offset, size_t len, int advise)
+posix_fadvise (int fd, __off_t offset, __off_t len, int advise)
{
__set_errno (ENOSYS);
return -1;
============================================================
Index: sysdeps/generic/posix_fadvise64.c
--- sysdeps/generic/posix_fadvise64.c 6 Jul 2001 04:55:49 -0000 1.2
+++ sysdeps/generic/posix_fadvise64.c 16 Aug 2003 09:15:29 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@
respect to the file associated with FD. */
int
-posix_fadvise64 (int fd, __off64_t offset, size_t len, int advise)
+posix_fadvise64 (int fd, __off64_t offset, __off64_t len, int advise)
{
__set_errno (ENOSYS);
return -1;
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20030816/bf6605e1/attachment.sig>
More information about the Libc-hacker
mailing list