Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sbin/scan_ffs



   
   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.



Home | Main Index | Thread Index | Old Index