Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-05-07 00:29:29 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-05-07 00:29:29 +0400
commitf78e59a8f90f72609c153d4db493c2d43e6ca379 (patch)
tree82fe59427bc672bc7d8f63a86a0515ae4be18fef /newlib
parenta9917779940a314185fa33c177a45fd12502935c (diff)
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/pread.c: Fix typo for _pread_r. * libc/unix/pwrite.c: Fix type for _pwrite_r. * libc/sys/linux/pread64.c: Fix typo for read syscall. * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog7
-rw-r--r--newlib/libc/sys/linux/pread64.c4
-rw-r--r--newlib/libc/sys/linux/pwrite64.c4
-rw-r--r--newlib/libc/unix/pread.c2
-rw-r--r--newlib/libc/unix/pwrite.c2
5 files changed, 13 insertions, 6 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 0ea9c1aa3..6ba3e1852 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,10 @@
+2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/unix/pread.c: Fix typo for _pread_r.
+ * libc/unix/pwrite.c: Fix type for _pwrite_r.
+ * libc/sys/linux/pread64.c: Fix typo for read syscall.
+ * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
+
2002-05-03 Christopher Faylor <cgf@redhat.com>
* libc/include/sys/unistd.h: Define getdomainname under cygwin.
diff --git a/newlib/libc/sys/linux/pread64.c b/newlib/libc/sys/linux/pread64.c
index c6d15f91d..c6273f3c9 100644
--- a/newlib/libc/sys/linux/pread64.c
+++ b/newlib/libc/sys/linux/pread64.c
@@ -29,7 +29,7 @@ RETURNS
PORTABILITY
<<pread64>> is an EL/IX extension.
-Supporting OS subroutine required: <<read64>>, <<lseek64>>.
+Supporting OS subroutine required: <<read>>, <<lseek64>>.
*/
#include <_ansi.h>
@@ -52,7 +52,7 @@ _DEFUN (pread64, (fd, buf, n, off),
if (lseek64 (fd, off, SEEK_SET) == (loff_t)-1)
return -1;
- num_read = read64 (fd, buf, n);
+ num_read = read (fd, buf, n);
if (lseek64 (fd, cur_pos, SEEK_SET) == (loff_t)-1)
return -1;
diff --git a/newlib/libc/sys/linux/pwrite64.c b/newlib/libc/sys/linux/pwrite64.c
index fddd6d2da..145616f15 100644
--- a/newlib/libc/sys/linux/pwrite64.c
+++ b/newlib/libc/sys/linux/pwrite64.c
@@ -29,7 +29,7 @@ RETURNS
PORTABILITY
<<pwrite64>> is an EL/IX extension.
-Supporting OS subroutine required: <<write64>>, <<lseek64>>.
+Supporting OS subroutine required: <<write>>, <<lseek64>>.
*/
#include <_ansi.h>
@@ -52,7 +52,7 @@ _DEFUN (pwrite64, (fd, buf, n, off),
if (lseek64 (fd, off, SEEK_SET) == (loff_t)-1)
return -1;
- num_written = write64 (fd, buf, n);
+ num_written = write (fd, buf, n);
if (lseek64 (fd, cur_pos, SEEK_SET) == (loff_t)-1)
return -1;
diff --git a/newlib/libc/unix/pread.c b/newlib/libc/unix/pread.c
index 68ed68eb1..72087542e 100644
--- a/newlib/libc/unix/pread.c
+++ b/newlib/libc/unix/pread.c
@@ -52,7 +52,7 @@ Supporting OS subroutine required: <<read>>, <<lseek>>.
#include <reent.h>
ssize_t
-_DEFUN (pread_r, (rptr, fd, buf, n, off),
+_DEFUN (_pread_r, (rptr, fd, buf, n, off),
struct _reent *rptr _AND
int fd _AND
_PTR buf _AND
diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c
index 2d672bfbe..23979ac79 100644
--- a/newlib/libc/unix/pwrite.c
+++ b/newlib/libc/unix/pwrite.c
@@ -53,7 +53,7 @@ Supporting OS subroutine required: <<write>>, <<lseek>>.
#include <reent.h>
ssize_t
-_DEFUN (pwrite_r, (rptr, fd, buf, n, off),
+_DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
struct _reent *rptr _AND
int fd _AND
_CONST _PTR buf _AND