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:
parent
4902c5bdca
commit
bfe1ed40a8
@ -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
|
||||
|
@ -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;}
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user