View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000296 | luatex | luatex bug | public | 2009-11-09 13:46 | 2009-11-18 16:55 |
Reporter | patrick | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.44.0 | ||||
Fixed in Version | 0.45.0 | ||||
Summary | 0000296: package.path broken | ||||
Description | In contradiction to the luatex reference manual (3.1.1) and in contradiction to the lua reference manual (http://www.lua.org/manual/5.1/manual.html#pdf-package.path) the package.path does not work. This breaks all existing lua scripts that rely on the Lua standard mechanism for path searching. Example: root/bin/helloworld.lua: #!/usr/bin/env texlua if arg[0]:sub(1,1) ~= "/" then arg[0] = lfs.currentdir() .. "/" .. arg[0] end local installdir=arg[0]:gsub("/%./","/"):gsub("(%w+)/bin/[^/]+$","%1") package.path = installdir .. "/dir/?.lua" require("foobar") breaks, even if foobar.lua is in root/dir/foobar.lua. Please bring back package.path | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-09 13:46 | patrick | New Issue | |
2009-11-09 14:25 | Taco | Note Added: 0000327 | |
2009-11-09 14:25 | Taco | Status | new => resolved |
2009-11-09 14:25 | Taco | Resolution | open => fixed |
2009-11-18 16:54 | Taco | Fixed in Version | => 0.45.0 |
2009-11-18 16:55 | Taco | Status | resolved => closed |