diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-05-11 15:39:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-05-11 15:39:50 +0000 |
commit | 0175b5311e921ddfb5f246eacc5c7c5e3b426e1b (patch) | |
tree | 7dfabc7ab2539c2710b5d89acd2582ae8e1e2079 /winsup/cygwin/path.h | |
parent | 75b5f30fdd7ba21f6ec05644113c45e065f6187c (diff) | |
download | cygnal-0175b5311e921ddfb5f246eacc5c7c5e3b426e1b.tar.gz cygnal-0175b5311e921ddfb5f246eacc5c7c5e3b426e1b.tar.bz2 cygnal-0175b5311e921ddfb5f246eacc5c7c5e3b426e1b.zip |
* fhandler.cc (fhandler_base::open): Set file attributes to correct
value when creating files.
* path.h (class path_conv): Add write accessor for file_attributes.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index c04366014..396749b0f 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -201,6 +201,7 @@ class path_conv DWORD get_devn () {return dev.devn;} short get_unitn () {return dev.minor;} DWORD file_attributes () {return fileattr;} + void file_attributes (DWORD new_attr) {fileattr = new_attr;} DWORD drive_type () {return fs.drive_type ();} DWORD fs_flags () {return fs.flags ();} bool fs_has_ea () {return fs.has_ea ();} |