From 86cf5ff85f30b9e25b4b2d1b9e7891cf4ac78c5b Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 26 Feb 2005 17:54:49 +0000 Subject: [PATCH] Copy last changes to parse_rock_ridge_stat_internal(). --- lib/iso9660/rock.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/iso9660/rock.c b/lib/iso9660/rock.c index 1e43d065..17a4be2a 100644 --- a/lib/iso9660/rock.c +++ b/lib/iso9660/rock.c @@ -1,5 +1,5 @@ /* - $Id: rock.c,v 1.12 2005/02/26 17:20:33 rocky Exp $ + $Id: rock.c,v 1.13 2005/02/26 17:54:49 rocky Exp $ Copyright (C) 2005 Rocky Bernstein Adapted from GNU/Linux fs/isofs/rock.c (C) 1992, 1993 Eric Youngdale @@ -420,13 +420,10 @@ parse_rock_ridge_stat_internal(iso9660_dir_t *p_iso9660_dir, case 4: realloc_symlink(p_stat, 1); p_stat->rr.psz_symlink[p_stat->rr.i_symlink++] = '.'; - p_stat->rr.i_symlink++; /* continue into next case. */ - break; case 2: realloc_symlink(p_stat, 1); p_stat->rr.psz_symlink[p_stat->rr.i_symlink++] = '.'; - p_stat->rr.i_symlink++; break; case 8: rootflag = 1; @@ -453,7 +450,6 @@ parse_rock_ridge_stat_internal(iso9660_dir_t *p_iso9660_dir, if (!rootflag && (p_oldsl->flags & 1) == 0) { realloc_symlink(p_stat, 1); p_stat->rr.psz_symlink[p_stat->rr.i_symlink++] = '/'; - p_stat->rr.i_symlink++; } } }