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-12-11 19:59:06 +00:00
2007-06-14 16:02:32 +00:00
2008-02-11 19:03:36 +00:00
2008-03-24 14:48:58 +00:00
2005-06-01 18:24:31 +00:00
2006-07-25 19:23:23 +00:00
2008-03-18 09:57:33 +00:00
2005-07-26 00:55:42 +00:00
2005-03-28 21:58:23 +00:00
2004-09-14 08:29:12 +00:00
2005-08-08 15:00:39 +00:00
2005-11-10 21:17:15 +00:00
2005-12-03 05:01:51 +00:00
2006-08-07 19:29:14 +00:00
2006-05-28 15:50:14 +00:00
2005-08-08 09:45:42 +00:00
2007-01-28 11:27:05 +00:00
2006-01-09 12:41:54 +00:00
2006-10-17 17:34:56 +00:00
2007-06-21 15:57:54 +00:00
2005-06-10 12:11:35 +00:00
2005-02-22 19:45:41 +00:00
2008-02-14 16:47:11 +00:00
2006-02-13 19:01:32 +00:00
2007-02-15 17:49:25 +00:00
2007-02-01 15:54:40 +00:00
2007-02-07 17:22:40 +00:00
2006-12-11 19:59:06 +00:00
2007-06-17 00:31:27 +00:00
2007-02-20 15:48:04 +00:00
2007-04-06 08:25:28 +00:00
2008-02-15 17:53:11 +00:00
2006-02-02 22:46:37 +00:00