Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa Don't compile in sanity checks for old file sy...



details:   https://anonhg.NetBSD.org/src/rev/3ca030719dd1
branches:  trunk
changeset: 467975:3ca030719dd1
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Apr 01 05:27:54 1999 +0000

description:
Don't compile in sanity checks for old file systems if
LIBSA_NO_COMPAT_UFS is defined.

diffstat:

 sys/lib/libsa/ufs.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 98fb15311d43 -r 3ca030719dd1 sys/lib/libsa/ufs.c
--- a/sys/lib/libsa/ufs.c       Thu Apr 01 05:12:20 1999 +0000
+++ b/sys/lib/libsa/ufs.c       Thu Apr 01 05:27:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs.c,v 1.24 1999/03/31 07:43:39 simonb Exp $  */
+/*     $NetBSD: ufs.c,v 1.25 1999/04/01 05:27:54 simonb Exp $  */
 
 /*-
  * Copyright (c) 1993
@@ -89,6 +89,9 @@
 #if defined(LIBSA_FS_SINGLECOMPONENT) && !defined(LIBSA_NO_FS_SYMLINK)
 #define LIBSA_NO_FS_SYMLINK
 #endif
+#if defined(COMPAT_UFS) && defined(LIBSA_NO_COMPAT_UFS)
+#undef COMPAT_UFS
+#endif
 
 
 /*



Home | Main Index | Thread Index | Old Index