]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler.cc (fhandler_base::open): Revert isfs change.
authorChristopher Faylor <me@cgf.cx>
Thu, 22 Jan 2004 15:08:08 +0000 (15:08 +0000)
committerChristopher Faylor <me@cgf.cx>
Thu, 22 Jan 2004 15:08:08 +0000 (15:08 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc

index cf8c38ece31350a81e21b97532eccb7b2e423883..85a848941a0a4ea47610dd42d35bd784eaab3ce7 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-22  Christopher Faylor  <cgf@redhat.com>
+
+       * fhandler.cc (fhandler_base::open): Revert isfs change.
+
 2004-01-21  Christopher Faylor  <cgf@redhat.com>
 
        * devices.in: Change raw com device to more correct form.
index 6d30709928fc5bf333405c8d5ff34de3a65fa7c6..0aad893a39ce62bd28c5ab5761fc96a0cd8ff31e 100644 (file)
@@ -396,7 +396,7 @@ fhandler_base::open (int flags, mode_t mode)
     file_attributes |= FILE_FLAG_OVERLAPPED;
 
 #ifdef HIDDEN_DOT_FILES
-  if (flags & O_CREAT && dev ().isfs ())
+  if (flags & O_CREAT && get_device () == FH_FS)
     {
       char *c = strrchr (get_win32_name (), '\\');
       if ((c && c[1] == '.') || *get_win32_name () == '.')
@@ -420,7 +420,7 @@ fhandler_base::open (int flags, mode_t mode)
 
   /* If the file should actually be created and ntsec is on,
      set files attributes. */
-  if (flags & O_CREAT && dev ().isfs () && allow_ntsec && has_acls ())
+  if (flags & O_CREAT && get_device () == FH_FS && allow_ntsec && has_acls ())
     set_security_attribute (mode, &sa, sd);
 
   x = CreateFile (get_win32_name (), access, shared, &sa, creation_distribution,
This page took 0.035563 seconds and 5 git commands to generate.