Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 14:36:47 -0700
From:      brian@worldcontrol.com
To:        freebsd-scsi@FreeBSD.ORG
Subject:   3.0-CAM-19980712/src all screwed up
Message-ID:  <19980715143647.A10933@top.worldcontrol.com>

next in thread | raw e-mail | index | archive | help
I may be misunderstanding something, but 3.0CAM-1990712-SNAP/src seems
to be a mess to me.

Having downloaded and unarchived everything in that directory, I
find that src/include/unistd.h does not include the definitions for
F_LOCK and friends.  

This breaks many things.

Looking at the 3.0CAM-19980712-SNAP.diffs.gz one finds 

*** src/include/unistd.h.orig
--- src/include/unistd.h
***************
*** 49,58 ****
  #endif
  
  #ifndef _POSIX_SOURCE
! #define       F_ULOCK         0       /* unlock locked section */
! #define       F_LOCK          1       /* lock a section for exclusive use */
! #define       F_TLOCK         2       /* test and lock a section for exclusive
 use */
! #define       F_TEST          3       /* test a section for locks by other pro
cs */
  #endif
  
  __BEGIN_DECLS
--- 49,58 ----
  #endif
  
  #ifndef _POSIX_SOURCE
! #define F_ULOCK         0     /* unlock locked section */
! #define F_LOCK          1     /* lock a section for exclusive use */
! #define F_TLOCK         2     /* test and lock a section for exclusive use */
! #define F_TEST          3     /* test a section for locks by other processes *
/
  #endif
  
  __BEGIN_DECLS


However, it can't be applied because the prerequisite doesn't exist
in include/unistd.h.  Not that I want to apply the diffs.  It seems
half the diffs are already applied, and half are broken for various
reasons.

There are hundreds of similar problems. 

What is going on?

-- 
Brian Litzinger <brian@litzinger.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980715143647.A10933>