Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-01-14 01:56:20 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-01-14 01:56:20 +0300
commit36ca239fd4a64e2a17dfe265125b21c398a6ec59 (patch)
tree099ad3703e263ce58ceea61bcec705b9c3300149 /winsup/cygwin/fhandler.h
parent0dabe0e0c232687d9aa67ccd0474f4df8daf4f76 (diff)
* fhandler.h (fhandler_disk_file::touch_ctime): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): New method to set file's ctime. (fhandler_disk_file::fchmod): Try opening file for writing first. Set file's ctime on success. (fhandler_disk_file::fchown): Ditto. (fhandler_disk_file::facl): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 47b216cda..34b40b83d 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -571,6 +571,8 @@ class fhandler_dev_tape: public fhandler_dev_raw
class fhandler_disk_file: public fhandler_base
{
+ void touch_ctime (void);
+
public:
fhandler_disk_file ();