usage is dead. name_len should be read as unsigned byte.
This commit is contained in:
parent
a88b57b624
commit
17770eb834
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: iso9660_rrip.c,v 1.10 2011/05/29 17:07:58 tsutsui Exp $ */
|
||||
/* $NetBSD: iso9660_rrip.c,v 1.11 2012/04/29 13:32:21 joerg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2005 Daniel Watt, Walter Deignan, Ryan Gabrys, Alan
|
||||
@ -43,7 +43,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(__RCSID) && !defined(__lint)
|
||||
__RCSID("$NetBSD: iso9660_rrip.c,v 1.10 2011/05/29 17:07:58 tsutsui Exp $");
|
||||
__RCSID("$NetBSD: iso9660_rrip.c,v 1.11 2012/04/29 13:32:21 joerg Exp $");
|
||||
#endif /* !__lint */
|
||||
|
||||
static void cd9660_rrip_initialize_inode(cd9660node *);
|
||||
@ -421,9 +421,9 @@ cd9660_rrip_initialize_node(cd9660node *node, cd9660node *parent,
|
||||
}
|
||||
else if ((node->node != NULL) &&
|
||||
((strlen(node->node->name) !=
|
||||
(int)node->isoDirRecord->name_len[0]) ||
|
||||
(uint8_t)node->isoDirRecord->name_len[0]) ||
|
||||
(memcmp(node->node->name,node->isoDirRecord->name,
|
||||
(int) node->isoDirRecord->name_len[0]) != 0))) {
|
||||
(uint8_t)node->isoDirRecord->name_len[0]) != 0))) {
|
||||
cd9660_rrip_NM(node);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: makefs.c,v 1.33 2012/04/19 17:09:53 christos Exp $ */
|
||||
/* $NetBSD: makefs.c,v 1.34 2012/04/29 13:32:21 joerg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001-2003 Wasabi Systems, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(__RCSID) && !defined(__lint)
|
||||
__RCSID("$NetBSD: makefs.c,v 1.33 2012/04/19 17:09:53 christos Exp $");
|
||||
__RCSID("$NetBSD: makefs.c,v 1.34 2012/04/29 13:32:21 joerg Exp $");
|
||||
#endif /* !__lint */
|
||||
|
||||
#include <assert.h>
|
||||
@ -84,8 +84,7 @@ u_int debug;
|
||||
struct timespec start_time;
|
||||
|
||||
static fstype_t *get_fstype(const char *);
|
||||
static void usage(void);
|
||||
int main(int, char *[]);
|
||||
static void usage(void) __dead;
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
|
Loading…
Reference in New Issue
Block a user