From 1b3f5186e7c28da3957a445d468024fa8c85f39b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 11 Feb 2009 08:30:37 +0100 Subject: [PATCH] Revoked AAIP prescription to map reserved name start bytes into "user." name space. (It made trouble with cyclic conversions.) --- doc/susp_aaip_0_2.txt | 3 --- libisofs/aaip_0_2.c | 6 +----- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/doc/susp_aaip_0_2.txt b/doc/susp_aaip_0_2.txt index a9fe4da..4ebf1cd 100644 --- a/doc/susp_aaip_0_2.txt +++ b/doc/susp_aaip_0_2.txt @@ -167,9 +167,6 @@ The reserved start bytes of names have the following meaning 0x03 namespace "user." 0x04 namespace "isofs." 0x05 to 0x1F shall not be used yet. - If encountered then they map to name space "user." and the name gets - prefixed "aaipXY_" with XY being two hex digits [0-9A-F] describing - the encountered short indicator value. Examples: Name "user.abc" diff --git a/libisofs/aaip_0_2.c b/libisofs/aaip_0_2.c index d3b7d6d..533c212 100644 --- a/libisofs/aaip_0_2.c +++ b/libisofs/aaip_0_2.c @@ -1592,11 +1592,7 @@ ex:; name[0] == Aaip_namespace_useR || name[0] == Aaip_namespace_isofS) { strcpy(prefix, Aaip_namespace_textS[(int) name[0]]); - } else { - sprintf(prefix, "user.aaip%2.2X_", (unsigned int) name[0]); - } - pl= strlen(prefix); - if(pl > 0) { + pl= strlen(prefix); memmove(name + pl, name + 1, nl - 1); memcpy(name, prefix, pl); *name_fill= pl + nl - 1;