Corinna Vinschen
7636b58590
* autoload.cc (NtSetInformationFile): Define.
* cygwin.din: Export posix_fadvise and posix_fallocate.
* fhandler.cc (fhandler_base::fadvise): New method.
(fhandler_base::ftruncate): Add allow_truncate parameter.
* fhandler.h (class fhandler_base): Add fadvise method. Accomodate
new parameter to ftruncate.
(class fhandler_pipe): Add fadvise and ftruncate methods.
(class fhandler_disk_file): Add fadvise method. Accomodate new
parameter to ftruncate.
* fhandler_disk_file.cc (fhandler_disk_file::fadvise): New method.
(fhandler_disk_file::ftruncate): Accomodate new allow_truncate
parameter. Set EOF using NtSetInformationFile on NT.
* ntdll.h (struct _FILE_END_OF_FILE_INFORMATION): Define.
(NtSetInformationFile): Declare.
* pipe.cc (fhandler_pipe::fadvise): New method.
(fhandler_pipe::ftruncate): Ditto.
* syscalls.cc (posix_fadvise): New function.
(posix_fallocate): Ditto.
(ftruncate64): Accomodate second parameter to fhandler's ftruncate
method.
* include/fcntl.h: Add POSIX_FADV_* flags. Add declarations of
posix_fadvise and posix_fallocate.
* include/cygwin/version.h: Bump API minor number.
2006-08-07 19:29:14 +00:00
..
2004-03-26 21:17:07 +00:00
2002-02-12 21:21:32 +00:00
2003-11-15 17:04:10 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2003-03-30 17:28:52 +00:00
2002-05-28 14:58:13 +00:00
2002-11-07 14:16:29 +00:00
2000-02-17 19:38:33 +00:00
2001-11-05 06:09:15 +00:00
2006-07-25 20:01:38 +00:00
2000-06-07 11:48:03 +00:00
2006-07-25 19:23:23 +00:00
2004-06-08 10:53:40 +00:00
2006-07-03 15:29:10 +00:00
2003-11-19 18:50:23 +00:00
2004-04-19 19:41:13 +00:00
2001-03-05 21:29:24 +00:00
2003-11-19 18:50:23 +00:00
2003-11-19 18:50:23 +00:00
2006-03-23 15:55:59 +00:00
2006-07-25 19:23:23 +00:00
2000-02-17 19:38:33 +00:00
2003-08-26 07:45:38 +00:00
2006-07-25 19:23:23 +00:00
2005-11-18 16:08:33 +00:00
2005-05-02 03:50:11 +00:00
2005-11-18 17:48:23 +00:00
2006-07-14 21:45:00 +00:00
2000-02-17 19:38:33 +00:00
2004-12-15 17:29:01 +00:00
2006-08-07 19:29:14 +00:00
2006-06-12 14:25:05 +00:00