Subject: re: CVS commit: src/sbin/scan_ffs
To: None <he@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 08/10/2005 03:03:23
   
   Module Name:	src
   Committed By:	he
   Date:		Tue Aug  9 12:59:29 UTC 2005
   
   Modified Files:
   	src/sbin/scan_ffs: scan_ffs.c
   
   Log Message:
   Undefine the 17 macros commonly defined by <ufs/ffs/fs.h> and
   <ufs/lfs/lfs.h> before including the second of them, and also after
   including the second, to ensure the rest of the code doesn't depend
   on their (ambigious) definition.
   
   This fixes a build problem for vax; gcc 2.95.3's preprocessor
   apparently doesn't like redefinition of macros.
   
   Discussed with xtraeme.


hmm.  seems like this should really be fixed by splitting the ffs
and lfs code into separate files rather than depending so heavily
on implementation details....


.mrg.