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
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-02-22 12:17:57 +0300
committerCorinna Vinschen <corinna@vinschen.de>2011-02-22 12:17:57 +0300
commit12374d7d2f77d5a309f1835b3177798c47307807 (patch)
treecdd89b9c87176cf1f68c91860033cfd10c2f0440
parent60c04741a8494b6a2af59e680f64b48ef12e422a (diff)
* dcrt0.cc: Fix copyright dates.
* winsup.h: Ditto. * syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/dcrt0.cc3
-rw-r--r--winsup/cygwin/syscalls.cc5
-rw-r--r--winsup/cygwin/winsup.h2
4 files changed, 11 insertions, 5 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1e5bf05ba..6b2de4099 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-22 Corinna Vinschen <corinna@vinschen.de>
+
+ * dcrt0.cc: Fix copyright dates.
+ * winsup.h: Ditto.
+ * syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
+
2011-02-21 Christopher Faylor <me+cygwin@cgf.cx>
* cygwin.din: Mark __assert* and _abort as NOSIGFE.
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index af0cf4e14..c6131e809 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1,8 +1,7 @@
/* dcrt0.cc -- essentially the main() for the Cygwin dll
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010
- Red Hat, Inc.
+ 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
This file is part of Cygwin.
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 */
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 5d07afdb4..848967866 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -1,7 +1,7 @@
/* winsup.h: main Cygwin header file.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007, 2008, 2009 Red Hat, Inc.
+ 2005, 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
This file is part of Cygwin.