[Swift-devel] [Bug 116] New: simple_mapper handling of numbered files in arrays broken

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Mon Dec 10 08:23:20 CST 2007


http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=116

           Summary: simple_mapper handling of numbered files in arrays
                    broken
           Product: Swift
           Version: unspecified
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: benc at hawaga.org.uk
                CC: swift-devel at ci.uchicago.edu


simple mapper is formatting numbers used to index arrays that it maps in a way
that is incompatible with the filename on disk.

With:

$ ls *.in
1.in 2.in

the declaration:
file inputs[] <simple_mapper;suffix=".in">;
correctly creates an array with two elements, having detected 1.in and 2.in on
disk; however when mapping filenames for inputs[1] and inputs[2], the filenames
are padded to 0001.in and 0002.in which are not the correct filenames. This
causes runtime error.

This is with version r1515


-- 
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Swift-devel mailing list