Module Name: src
Committed By: tsutsui
Date: Fri Nov 19 15:47:32 UTC 2010
Modified Files:
src/usr.sbin/makefs: cd9660.c
Log Message:
cd9960 -> cd9660
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/makefs/cd9660.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/makefs/cd9660.c
diff -u src/usr.sbin/makefs/cd9660.c:1.27 src/usr.sbin/makefs/cd9660.c:1.28
--- src/usr.sbin/makefs/cd9660.c:1.27 Wed Oct 27 18:51:34 2010
+++ src/usr.sbin/makefs/cd9660.c Fri Nov 19 15:47:32 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660.c,v 1.27 2010/10/27 18:51:34 christos Exp $ */
+/* $NetBSD: cd9660.c,v 1.28 2010/11/19 15:47:32 tsutsui 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.27 2010/10/27 18:51:34 christos Exp $");
+__RCSID("$NetBSD: cd9660.c,v 1.28 2010/11/19 15:47:32 tsutsui Exp $");
#endif /* !__lint */
#include <string.h>
@@ -135,7 +135,7 @@
static int cd9660_fill_extended_attribute_record(cd9660node *);
#endif
static void cd9660_sort_nodes(cd9660node *);
-static int cd9960_translate_node_common(cd9660node *);
+static int cd9660_translate_node_common(cd9660node *);
static int cd9660_translate_node(fsnode *, cd9660node *);
static int cd9660_compare_filename(const char *, const char *);
static void cd9660_sorted_child_insert(cd9660node *, cd9660node *);
@@ -815,7 +815,7 @@
#endif
static int
-cd9960_translate_node_common(cd9660node *newnode)
+cd9660_translate_node_common(cd9660node *newnode)
{
time_t tim;
int test;
@@ -852,7 +852,7 @@
}
/*
- * Translate fsnode to cd9960node
+ * Translate fsnode to cd9660node
* Translate filenames and other metadata, including dates, sizes,
* permissions, etc
* @param struct fsnode * The node generated by makefs
@@ -881,7 +881,7 @@
if (!(S_ISDIR(node->type)))
newnode->fileDataLength = node->inode->st.st_size;
- if (cd9960_translate_node_common(newnode) == 0)
+ if (cd9660_translate_node_common(newnode) == 0)
return 0;
/* Finally, overwrite some of the values that are set by default */
@@ -2046,7 +2046,7 @@
return NULL;
*temp->node->inode = *me->node->inode;
- if (cd9960_translate_node_common(temp) == 0)
+ if (cd9660_translate_node_common(temp) == 0)
return NULL;
return temp;
}
@@ -2073,7 +2073,7 @@
return NULL;
*temp->node->inode = *me->node->inode;
- if (cd9960_translate_node_common(temp) == 0)
+ if (cd9660_translate_node_common(temp) == 0)
return NULL;
return temp;
}