[Issue 1694] New: Zip::ArchiveMember::name format bug

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 25 21:40:13 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1694

           Summary: Zip::ArchiveMember::name format bug
           Product: D
           Version: 2.008
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: wqeqweuqy at hotmail.com


ArchiveMember class in the Zip package is storing file names as formatted
arrays of ascii numbers. 

Kinda a trivial bug, but whatever heh.

example:

        foreach (ArchiveMember am; directory)
        {
            .printf("%s", "name: ");
            foreach (char c; am.name)
                .printf(" %c ", c);      
            .printf("%s", "\n");
        }

name: [  1  1  5  ,  1  0  1  ,  1  1  6  ,  1  1  6  ,  1  0  5  ,
1  1  0  ,  1  0  3  ,  1  1  5  ,  4  6  ,  1  0  5  ,  1  1  0  ,  1  0  5  ]


-- 



More information about the Digitalmars-d-bugs mailing list