#127: do not stat extensions when an extension was already given
--------------------------+-------------------------------------------------
Reporter: rurban | Type: todo
Status: new | Priority: minor
Milestone: | Component: none
Version: | Severity: low
Keywords: pdd30install | Lang:
Patch: | Platform: all
--------------------------+-------------------------------------------------
See TT#126 and TT#123
src/library.c:
Optimization for stats for library files with given extensions, so that
stat("library/Stream/Sub.pir.pasm") and so on for .pbc, .pasm, .pir should
not happen.
load_bytecode "library/Stream/Sub.pir" should not search for
"Sub.pir.pbc", "Sub.pir.pasm", and "Sub.pir.pir"
So if the file already ends with ".pir", ".pasm" or ".pbc" do not try to
append extensions.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/127>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets