Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs #if 0 a test that is always false (and the XX...
details: https://anonhg.NetBSD.org/src/rev/07a79ea8c7d5
branches: trunk
changeset: 532022:07a79ea8c7d5
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu May 30 18:54:55 2002 +0000
description:
#if 0 a test that is always false (and the XXX comment above it
indicates so).
diffstat:
sys/ufs/ext2fs/ext2fs_lookup.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r e9e2c05bdb92 -r 07a79ea8c7d5 sys/ufs/ext2fs/ext2fs_lookup.c
--- a/sys/ufs/ext2fs/ext2fs_lookup.c Thu May 30 18:53:14 2002 +0000
+++ b/sys/ufs/ext2fs/ext2fs_lookup.c Thu May 30 18:54:55 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_lookup.c,v 1.18 2001/11/08 02:39:07 lukem Exp $ */
+/* $NetBSD: ext2fs_lookup.c,v 1.19 2002/05/30 18:54:55 thorpej Exp $ */
/*
* Modified for NetBSD 1.2E
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_lookup.c,v 1.18 2001/11/08 02:39:07 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_lookup.c,v 1.19 2002/05/30 18:54:55 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -105,9 +105,11 @@
* XXX Rigth now this can't happen, but if one day
* MAXNAMLEN != E2FS_MAXNAMLEN we should handle this more gracefully !
*/
+#if 0
if (e2dir->e2d_namlen > MAXNAMLEN)
panic("ext2fs: e2dir->e2d_namlen\n");
#endif
+#endif
strncpy(ffsdir->d_name, e2dir->e2d_name, ffsdir->d_namlen);
/* Godmar thinks: since e2dir->e2d_reclen can be big and means
Home |
Main Index |
Thread Index |
Old Index