cd9960 -> cd9660
This commit is contained in:
parent
b82590c0a3
commit
41610f52e9
@ -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_setup_volume_descriptors(void);
|
||||
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 @@ cd9660_fill_extended_attribute_record(cd9660node *node)
|
||||
#endif
|
||||
|
||||
static int
|
||||
cd9960_translate_node_common(cd9660node *newnode)
|
||||
cd9660_translate_node_common(cd9660node *newnode)
|
||||
{
|
||||
time_t tim;
|
||||
int test;
|
||||
@ -852,7 +852,7 @@ cd9960_translate_node_common(cd9660node *newnode)
|
||||
}
|
||||
|
||||
/*
|
||||
* 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 @@ cd9660_translate_node(fsnode *node, cd9660node *newnode)
|
||||
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 @@ cd9660_create_file(const char * name, cd9660node *parent, cd9660node *me)
|
||||
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 @@ cd9660_create_directory(const char *name, cd9660node *parent, cd9660node *me)
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user