Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makefs/cd9660 - remove unnecessary (pasto?) line on...
details: https://anonhg.NetBSD.org/src/rev/44ddb2401bf2
branches: trunk
changeset: 765488:44ddb2401bf2
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat May 28 11:59:29 2011 +0000
description:
- remove unnecessary (pasto?) line on RRIP PL handling for moved dir
- RRIP RE length should be 4, not 0
diffstat:
usr.sbin/makefs/cd9660/iso9660_rrip.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 4b1856d14af2 -r 44ddb2401bf2 usr.sbin/makefs/cd9660/iso9660_rrip.c
--- a/usr.sbin/makefs/cd9660/iso9660_rrip.c Sat May 28 11:12:22 2011 +0000
+++ b/usr.sbin/makefs/cd9660/iso9660_rrip.c Sat May 28 11:59:29 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iso9660_rrip.c,v 1.8 2009/01/10 22:06:29 bjh21 Exp $ */
+/* $NetBSD: iso9660_rrip.c,v 1.9 2011/05/28 11:59:29 tsutsui 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.8 2009/01/10 22:06:29 bjh21 Exp $");
+__RCSID("$NetBSD: iso9660_rrip.c,v 1.9 2011/05/28 11:59:29 tsutsui Exp $");
#endif /* !__lint */
static void cd9660_rrip_initialize_inode(cd9660node *);
@@ -444,7 +444,6 @@
cd9660_rrip_PL(current,node->dot_dot_record);
TAILQ_INSERT_TAIL(&node->dot_dot_record->head, current,
rr_ll);
- TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
}
}
return 1;
@@ -498,7 +497,7 @@
int
cd9660_rrip_RE(struct ISO_SUSP_ATTRIBUTES *p, cd9660node *node __unused)
{
- p->attr.rr_entry.RE.h.length[0] = 0;
+ p->attr.rr_entry.RE.h.length[0] = 4;
p->attr.rr_entry.RE.h.version[0] = 1;
return 1;
}
Home |
Main Index |
Thread Index |
Old Index