[OpenAFS-devel] Errata for 1.4.2 on OpenBSD

Jim Rees rees@umich.edu
Tue, 24 Oct 2006 09:47:31 -0400


You'll need this patch to run the 1.4.2 client on OpenBSD.  Does anyone
other than me run the OpenBSD client?  Should I make a new build available?

Index: src/afs/VNOPS/afs_vnop_flock.c
===================================================================
RCS file: /cvs/openafs/src/afs/VNOPS/afs_vnop_flock.c,v
retrieving revision 1.24.2.6
retrieving revision 1.24.2.7
diff -u -r1.24.2.6 -r1.24.2.7
--- src/afs/VNOPS/afs_vnop_flock.c	2 Jun 2006 21:23:52 -0000	1.24.2.6
+++ src/afs/VNOPS/afs_vnop_flock.c	24 Oct 2006 13:42:16 -0000	1.24.2.7
@@ -16,7 +16,7 @@
 #include "afs/param.h"
 
 RCSID
-    ("$Header: /cvs/openafs/src/afs/VNOPS/afs_vnop_flock.c,v 1.24.2.6 2006/06/02 21:23:52 shadow Exp $");
+    ("$Header: /cvs/openafs/src/afs/VNOPS/afs_vnop_flock.c,v 1.24.2.7 2006/10/24 13:42:16 rees Exp $");
 
 #include "afs/sysincludes.h"	/* Standard vendor system headers */
 #include "afsincludes.h"	/* Afs-based standard headers */
@@ -571,7 +571,7 @@
 #endif
 	) && code != LOCK_UN)
 	code |= LOCK_NB;	/* non-blocking, s.v.p. */
-#if	defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
+#if	defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV)
     code = HandleFlock(avc, code, &treq, clid, 0 /*!onlymine */ );
 #elif defined(AFS_SGI_ENV)
     AFS_RWLOCK((vnode_t *) avc, VRWLOCK_WRITE);