4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-23 23:47:22 +08:00
Corinna Vinschen a998dd7055 * fhandler.cc (fhandler_base::dup): Drop setting flags in the parent.
Implement advisory file locking.
	* cygheap.h (struct init_cygheap): Add inode_list member.
	* cygwin.din (lockf): Export.
	* dcrt0.cc (child_info_spawn::handle_spawn): Call
	fixup_lockf_after_exec.
	* dtable.h (class dtable): Add fhandler_disk_file as friend class.
	* fhandler.cc (fhandler_base::close): Call del_my_locks if node is set.
	(fhandler_base::fhandler_base): Initialize node to NULL.
	(fhandler_base::fixup_after_fork): Ditto.
	* fhandler.h (class fhandler_base): Add member node.
	* fhandler_disk_file.cc (fhandler_disk_file::lock): Delete.
	* flock.cc: Implement all advisory file locking here.
	(fhandler_disk_file::lock): Implement here.
	(flock): Call fcntl with F_FLOCK bit set.  Remove test main function.
	(lockf): New function.
	* fork.cc (frok::child): Call fixup_lockf_after_fork.
	* ntdll.h (DIRECTORY_ALL_ACCESS): Define.
	(struct _OBJECT_BASIC_INFORMATION): Define.
	(enum _EVENT_TYPE): Define.
	(NtCreateDirectoryObject): Declare.
	(NtCreateEvent): Declare.
	(NtCreateMutant): Declare.
	(NtOpenEvent): Declare.
	(NtOpenMutant): Declare.
	* include/cygwin/version.h: Bump API minor number.
2008-03-24 14:48:58 +00:00
..
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2008-03-12 17:04:10 +00:00
2006-02-15 22:11:13 +00:00
2006-03-01 20:20:22 +00:00
2007-03-06 16:29:40 +00:00
2004-12-05 02:30:20 +00:00
2007-07-14 15:58:32 +00:00
2008-02-15 17:53:11 +00:00
2008-02-15 17:53:11 +00:00
2008-02-15 17:53:11 +00:00
2007-02-20 15:48:04 +00:00
2007-11-06 13:29:53 +00:00
2004-12-27 19:03:56 +00:00
2007-06-11 17:38:27 +00:00
2006-02-20 02:06:37 +00:00
2007-12-12 12:12:24 +00:00
2006-07-17 19:30:30 +00:00