Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makefs remove stray brace, minor knf
details: https://anonhg.NetBSD.org/src/rev/b18cce13610d
branches: trunk
changeset: 768653:b18cce13610d
user: christos <christos%NetBSD.org@localhost>
date: Tue Aug 23 19:17:07 2011 +0000
description:
remove stray brace, minor knf
diffstat:
usr.sbin/makefs/cd9660.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 2d6ae833ab81 -r b18cce13610d usr.sbin/makefs/cd9660.c
--- a/usr.sbin/makefs/cd9660.c Tue Aug 23 18:37:51 2011 +0000
+++ b/usr.sbin/makefs/cd9660.c Tue Aug 23 19:17:07 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660.c,v 1.32 2011/08/23 17:09:11 christos Exp $ */
+/* $NetBSD: cd9660.c,v 1.33 2011/08/23 19:17:07 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.32 2011/08/23 17:09:11 christos Exp $");
+__RCSID("$NetBSD: cd9660.c,v 1.33 2011/08/23 19:17:07 christos Exp $");
#endif /* !__lint */
#include <string.h>
@@ -1651,15 +1651,15 @@
if (diskStructure.archimedes_enabled &&
*oldname == ',' && strlen(oldname) == 4)
break;
+
/* Enforce 12.3 / 8 */
if (namelen == 8 && !found_ext)
break;
- }
if (islower((unsigned char)*oldname))
*newname++ = toupper((unsigned char)*oldname);
else if (isupper((unsigned char)*oldname)
- || isdigit((unsigned char)*oldname))
+ || isdigit((unsigned char)*oldname))
*newname++ = *oldname;
else
*newname++ = '_';
@@ -1669,7 +1669,7 @@
else
namelen++;
}
- oldname ++;
+ oldname++;
}
if (is_file) {
if (!found_ext && !diskStructure.omit_trailing_period)
Home |
Main Index |
Thread Index |
Old Index