Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makefs the allow options are 8 bits wide.



details:   https://anonhg.NetBSD.org/src/rev/25432a6668b5
branches:  trunk
changeset: 784537:25432a6668b5
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 31 14:56:32 2013 +0000

description:
the allow options are 8 bits wide.

diffstat:

 usr.sbin/makefs/cd9660.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r eb9ee791d882 -r 25432a6668b5 usr.sbin/makefs/cd9660.c
--- a/usr.sbin/makefs/cd9660.c  Thu Jan 31 14:30:47 2013 +0000
+++ b/usr.sbin/makefs/cd9660.c  Thu Jan 31 14:56:32 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660.c,v 1.41 2013/01/29 15:52:25 christos Exp $     */
+/*     $NetBSD: cd9660.c,v 1.42 2013/01/31 14:56:32 christos Exp $     */
 
 /*
  * Copyright (c) 2005 Daniel Watt, Walter Deignan, Ryan Gabrys, Alan
@@ -103,7 +103,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: cd9660.c,v 1.41 2013/01/29 15:52:25 christos Exp $");
+__RCSID("$NetBSD: cd9660.c,v 1.42 2013/01/31 14:56:32 christos Exp $");
 #endif  /* !__lint */
 
 #include <string.h>
@@ -279,19 +279,19 @@
                { 'K', "keep-bad-images", &diskStructure->keep_bad_images,
                  OPT_INT32, 0, 1, "Keep bad images" },
                { 'D', "allow-deep-trees", &diskStructure->allow_deep_trees,
-                 OPT_INT32, 0, 1, "Allow trees more than 8 levels" },
+                 OPT_INT8, 0, 1, "Allow trees more than 8 levels" },
                { 'a', "allow-max-name", &diskStructure->allow_max_name,
-                 OPT_INT32, 0, 1, "Allow 37 char filenames (unimplemented)" },
+                 OPT_INT8, 0, 1, "Allow 37 char filenames (unimplemented)" },
                { 'i', "allow-illegal-chars", 
                  &diskStructure->allow_illegal_chars,
-                 OPT_INT32, 0, 1, "Allow illegal characters in filenames" },
+                 OPT_INT8, 0, 1, "Allow illegal characters in filenames" },
                { 'D', "allow-multidot", &diskStructure->allow_multidot,
-                 OPT_INT32, 0, 1, "Allow multiple periods in filenames" },
+                 OPT_INT8, 0, 1, "Allow multiple periods in filenames" },
                { 'o', "omit-trailing-period",
                  &diskStructure->omit_trailing_period,
-                 OPT_INT32, 0, 1, "Omit trailing periods in filenames" },
+                 OPT_INT8, 0, 1, "Omit trailing periods in filenames" },
                { '\0', "allow-lowercase", &diskStructure->allow_lowercase,
-                 OPT_INT32, 0, 1, "Allow lowercase characters in filenames" },
+                 OPT_INT8, 0, 1, "Allow lowercase characters in filenames" },
                { '\0', "archimedes", &diskStructure->archimedes_enabled,
                  OPT_INT32, 0, 1, "Enable Archimedes structure" },
                { '\0', "no-trailing-padding",



Home | Main Index | Thread Index | Old Index