4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-02 13:05:42 +08:00

* dcrt0.cc: Fix copyright dates.

* winsup.h: Ditto.
	* syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
This commit is contained in:
Corinna Vinschen 2011-02-22 09:17:57 +00:00
parent 60c04741a8
commit 12374d7d2f
4 changed files with 11 additions and 5 deletions

View File

@ -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> 2011-02-21 Christopher Faylor <me+cygwin@cgf.cx>
* cygwin.din: Mark __assert* and _abort as NOSIGFE. * cygwin.din: Mark __assert* and _abort as NOSIGFE.

View File

@ -1,8 +1,7 @@
/* dcrt0.cc -- essentially the main() for the Cygwin dll /* dcrt0.cc -- essentially the main() for the Cygwin dll
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
Red Hat, Inc.
This file is part of Cygwin. This file is part of Cygwin.

View File

@ -907,6 +907,8 @@ read (int fd, void *ptr, size_t len)
return readv (fd, &iov, 1); return readv (fd, &iov, 1);
} }
EXPORT_ALIAS (read, _read)
extern "C" ssize_t extern "C" ssize_t
pread (int fd, void *ptr, size_t len, _off64_t off) 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; return res;
} }
EXPORT_ALIAS (read, _read)
extern "C" ssize_t extern "C" ssize_t
write (int fd, const void *ptr, size_t len) write (int fd, const void *ptr, size_t len)
{ {
@ -3501,6 +3501,7 @@ utmpname (const char *file)
utmp_file = strdup (file); utmp_file = strdup (file);
debug_printf ("New UTMP file: %s", utmp_file); debug_printf ("New UTMP file: %s", utmp_file);
} }
EXPORT_ALIAS (utmpname, utmpxname) EXPORT_ALIAS (utmpname, utmpxname)
/* Note: do not make NO_COPY */ /* Note: do not make NO_COPY */

View File

@ -1,7 +1,7 @@
/* winsup.h: main Cygwin header file. /* winsup.h: main Cygwin header file.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 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. This file is part of Cygwin.