diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-02-22 12:17:57 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-02-22 12:17:57 +0300 |
commit | 12374d7d2f77d5a309f1835b3177798c47307807 (patch) | |
tree | cdd89b9c87176cf1f68c91860033cfd10c2f0440 /winsup/cygwin/syscalls.cc | |
parent | 60c04741a8494b6a2af59e680f64b48ef12e422a (diff) |
* dcrt0.cc: Fix copyright dates.
* winsup.h: Ditto.
* syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 7ebe98dd1..e3a8f2df3 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -907,6 +907,8 @@ read (int fd, void *ptr, size_t len) return readv (fd, &iov, 1); } +EXPORT_ALIAS (read, _read) + extern "C" ssize_t pread (int fd, void *ptr, size_t len, _off64_t off) { @@ -937,8 +939,6 @@ pwrite (int fd, void *ptr, size_t len, _off64_t off) return res; } -EXPORT_ALIAS (read, _read) - extern "C" ssize_t write (int fd, const void *ptr, size_t len) { @@ -3501,6 +3501,7 @@ utmpname (const char *file) utmp_file = strdup (file); debug_printf ("New UTMP file: %s", utmp_file); } + EXPORT_ALIAS (utmpname, utmpxname) /* Note: do not make NO_COPY */ |