4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-22 00:38:06 +08:00
Corinna Vinschen 3323df7e0e * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
case of query_open flag set to query_read_control.  Add case for
	new query_read_attributes flag.
	(fhandler_base::fstatvfs): New method.
	* fhandler.h (enum query_state): Add query_read_attributes flag.
	(class fhandler_base): Declare new virtual fstatvfs method.
	(class fhandler_socket): Ditto.
	(class fhandler_pipe): Ditto.
	(class fhandler_fifo): Ditto.
	(class fhandler_disk_file): Ditto.
	(class fhandler_virtual): Ditto.
	* fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with
	query_read_attributes instead of query_read_control.
	(fhandler_disk_file::fstatvfs): New method.
	(fhandler_disk_file::facl): Open with query_read_attributes instead of
	query_read_control.
	* fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method.
	* fhandler_socket.cc (fhandler_socket::fstatvfs): New method.
	(fhandler_socket::fchmod): Return with EBADF in the default case.
	(fhandler_socket::fchown): Ditto.
	(fhandler_socket::facl): Ditto.
	* fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto.
	* ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define.
	(struct _FILE_FS_FULL_SIZE_INFORMATION): Define.
	* pipe.cc (fhandler_pipe::fstatvfs): New method.
	* syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs.
	(statvfs): Ditto.
	(fstatfs): Call fstatvfs.
	(statfs): Drop EFAULT handling.
2007-02-27 12:58:56 +00:00
..
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2004-12-05 02:30:20 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2006-05-24 16:59:03 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2006-11-27 12:59:59 +00:00
2007-02-20 15:48:04 +00:00
2004-05-12 16:21:18 +00:00
2006-02-15 22:11:13 +00:00
2005-09-28 19:22:25 +00:00
2006-03-01 20:20:22 +00:00
2007-02-20 00:16:18 +00:00
2006-07-06 17:16:37 +00:00
2004-03-14 05:35:19 +00:00
2004-12-05 02:30:20 +00:00
2005-11-18 17:48:23 +00:00
2004-02-04 22:40:50 +00:00
2005-05-02 03:50:11 +00:00
2007-02-20 00:16:18 +00:00
2007-02-20 15:48:04 +00:00
2007-02-20 00:16:18 +00:00
2004-12-27 19:03:56 +00:00
2007-02-20 00:16:18 +00:00
2004-12-27 19:03:56 +00:00
2006-01-02 02:57:54 +00:00
2006-02-20 02:06:37 +00:00
2006-07-17 19:30:30 +00:00