Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> libc-961016
authorthomas <thomas>
Tue, 15 Oct 1996 15:07:21 +0000 (15:07 +0000)
committerthomas <thomas>
Tue, 15 Oct 1996 15:07:21 +0000 (15:07 +0000)
* sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
as file name translation flags.
* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
to do anything for O_SHLOCK or O_EXLOCK.  Those are now file name
translation flags.

hurd/hurdlookup.c

index bfee614..98aca55 100644 (file)
@@ -154,11 +154,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
            {
              /* We got a successful translation.  Now apply any open-time
                 action flags we were passed.  */
-             if (flags & O_EXLOCK)
-               ;               /* XXX */
-             if (!err && (flags & O_SHLOCK))
-               ;               /* XXX */
-             if (!err && (flags & O_TRUNC))
+             if (flags & O_TRUNC)
                err = __file_set_size (*result, 0);
 
              if (err)