Ticket #127 (closed todo: invalid)
do not stat extensions when an extension was already given
Reported by: | rurban | Owned by: | rurban |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | core | Version: | branch |
Severity: | low | Keywords: | pdd30install |
Cc: | Language: | ||
Patch status: | applied | Platform: | all |
Description (last modified by rurban) (diff)
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.