Ticket #2180 (new bug)
examples/nci/ls.pir broken
Reported by: | bubaflub | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 3.7.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Running the example as it is currently gives:
Unknown param Signature t current instr.: '_main' pc 3 (examples/nci/ls.pir:24)
With the applied patch (that fixes the problem with the t parameter) gives:
.. book q.pod on.pod o#WInvalid character for UTF-8 encoding current instr.: '_main' pc 117 (examples/nci/ls.pir:62)
Which I believe is a problem with the OrderedHash and how we are accessing the name of the directory being viewed.
A second problem is that it assumes we are running it from the root parrot directory and attempts to open the docs/ directory - if it is run from another directory it will segfault when trying to open a that non-existent directory.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.