Hi,

I believe there's a 'break;' statement missing in rock.c, which results in a flurry of 'Unsupported NM flag settings' messages when processing ISOs such as Ubuntu 11.

Patch attached.

Regards,

/Pete
>From eb507ee6ed10c3a61be8e3a3719b47f2a16715af Mon Sep 17 00:00:00 2001
From: Pete Batard <[email protected]>
Date: Thu, 13 Mar 2014 21:57:05 +0000
Subject: [PATCH] Fix unwanted 'Unsupported NM flag settings' messages

---
 lib/iso9660/rock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/iso9660/rock.c b/lib/iso9660/rock.c
index f83825f..5a65a12 100644
--- a/lib/iso9660/rock.c
+++ b/lib/iso9660/rock.c
@@ -202,6 +202,7 @@ get_rock_ridge_filename(iso9660_dir_t * p_iso9660_dir,
        if (rr->u.NM.flags & ISO_ROCK_NM_PARENT) {
          i_namelen = sizeof("..");
          strncat(psz_name, "..", i_namelen);
+         break;
        } else if (rr->u.NM.flags & ISO_ROCK_NM_CURRENT) {
          i_namelen = sizeof(".");
          strncat(psz_name, ".", i_namelen);
-- 
1.8.5.2.msysgit.0

Reply via email to