Module Name: src
Committed By: tsutsui
Date: Sat Jan 21 20:05:27 UTC 2012
Modified Files:
src/tools/compat: compat_defs.h
Log Message:
Always redefine DEV_BSIZE=512.
All references of DEV_BSIZE in tools are to manipulate target
(i.e. NetBSD's) file images (in installboot(8) and makefs(8) etc.) and
no host's DEV_BSIZE is required for the moment. Closes PR toolchain/42574.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/tools/compat/compat_defs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/compat/compat_defs.h
diff -u src/tools/compat/compat_defs.h:1.82 src/tools/compat/compat_defs.h:1.83
--- src/tools/compat/compat_defs.h:1.82 Thu Nov 3 14:13:53 2011
+++ src/tools/compat/compat_defs.h Sat Jan 21 20:05:27 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_defs.h,v 1.82 2011/11/03 14:13:53 joerg Exp $ */
+/* $NetBSD: compat_defs.h,v 1.83 2012/01/21 20:05:27 tsutsui Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@@ -1052,9 +1052,9 @@ __GEN_ENDIAN_DEC(64, le)
#define BYTE_ORDER LITTLE_ENDIAN
#endif
-#ifndef DEV_BSIZE
+/* all references of DEV_BSIZE in tools are for NetBSD's file images */
+#undef DEV_BSIZE
#define DEV_BSIZE (1 << 9)
-#endif
#undef MIN
#undef MAX