]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.h (class fhandler_base): Declare new method link.
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 19 Feb 2005 21:53:36 +0000 (21:53 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 19 Feb 2005 21:53:36 +0000 (21:53 +0000)
commit0d75ce965cf46a16585477469bb4edb597a35f00
tree7fbe3e9926fae6373ca21014ebd1e24bf5c8bdb6
parentc2d0b9d89a3406e8905efa8fe58f9d948242e028
* fhandler.h (class fhandler_base): Declare new method link.
(class fhandler_socket): Ditto.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::open): Add FILE_WRITE_ATTRIBUTES
to query_write_control access flags.
(fhandler_base::link): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't try to
open with O_WRONLY since query_write_control includes
FILE_WRITE_ATTRIBUTES.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::link): New method.  Touch st_ctime on successful
link.
* fhandler_socket.cc (fhandler_socket::link): New method.
* syscalls.cc (link): Move functionality into fhandler method link.
Just call this method from here.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/fhandler_socket.cc
winsup/cygwin/syscalls.cc
This page took 0.029886 seconds and 5 git commands to generate.