summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-10-15 15:07:50 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-10-15 15:07:50 +0000
commitb207ff4bd88564215ef7c68e61ec46aa4cb461c1 (patch)
treeb22c4df3e6f66c1e18fddd094b77b18051a2e126 /hurd
parentea97fc8e0b27e0ede8ca12f1f3f5c53cfbd43a81 (diff)
downloadglibc-b207ff4bd88564215ef7c68e61ec46aa4cb461c1.tar.gz
glibc-b207ff4bd88564215ef7c68e61ec46aa4cb461c1.tar.xz
glibc-b207ff4bd88564215ef7c68e61ec46aa4cb461c1.zip
Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> cvs/libc-961016
	* 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.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdlookup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hurd/hurdlookup.c b/hurd/hurdlookup.c
index bfee61444e..98aca55118 100644
--- a/hurd/hurdlookup.c
+++ b/hurd/hurdlookup.c
@@ -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)