4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

* fhandler.h (class fhandler_socket): Remove utimes.

* fhandler_socket.cc (fhandler_socket::utimes): Remove.
This commit is contained in:
Corinna Vinschen 2005-04-13 17:13:41 +00:00
parent 4902c5bdca
commit bfe1ed40a8
3 changed files with 5 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2005-04-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_socket): Remove utimes.
* fhandler_socket.cc (fhandler_socket::utimes): Remove.
2005-04-13 Corinna Vinschen <corinna@vinschen.de>
* cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32

View File

@ -470,7 +470,6 @@ class fhandler_socket: public fhandler_base
int __stdcall fchown (__uid32_t uid, __gid32_t gid) __attribute__ ((regparm (2)));
int __stdcall facl (int, int, __acl32 *) __attribute__ ((regparm (3)));
int __stdcall link (const char *) __attribute__ ((regparm (2)));
int __stdcall utimes (const struct timeval *) __attribute__ ((regparm (2)));
bool is_slow () {return 1;}
};

View File

@ -588,17 +588,6 @@ fhandler_socket::link (const char *newpath)
return fhandler_base::link (newpath);
}
int
fhandler_socket::utimes (const struct timeval *tvp)
{
if (get_device () == FH_UNIX)
{
fhandler_disk_file fh (pc);
return fh.utimes (tvp);
}
return fhandler_base::utimes (tvp);
}
int
fhandler_socket::bind (const struct sockaddr *name, int namelen)
{