#127: do not stat extensions when an extension was already given
--------------------+-------------------------------------------------------
Reporter: rurban | Owner: rurban
Type: todo | Status: assigned
Priority: minor | Milestone:
Component: core | Version: branch
Severity: low | Keywords: pdd30install
Lang: | Patch: applied
Platform: all |
--------------------+-------------------------------------------------------
Changes (by rurban):
* status: new => assigned
* component: none => core
Old description:
> 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.
New description:
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#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets