* 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>
* cygwin.din: Mark __assert* and _abort as NOSIGFE.

View File

@ -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.

View File

@ -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 */

View File

@ -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.