View Issue Details

IDProjectCategoryView StatusLast Update
0000957luatextexlua bugpublic2015-11-23 13:17
ReporterpatrickAssigned ToHans Hagen 
Status closedResolutionfixed 
PlatformAppleOSEl CapitanOS Version10.11
Product Version0.85.0 
Target Version0.86.0Fixed in Version 
Summary0000957: (0.85) Map file must be present
DescriptionNote: this is version 0.85, not 0.79.1

The callback 'find_map_file' must return a string, a nil is invalid. nil is supposed the value for "file not found", but when I return nil, LuaTeX reports

Expected a string for (S), not: nil

Steps To Reproduce(will follow)
TagsNo tags attached.


Hans Hagen

2015-11-23 12:37

manager   ~0001553

The manual says:

Return an empty string and zero if the file was found but there was a
reading problem. So:

return false, "", 0

The callback framework now test a bit more strict (in order to get rid of ambigious cases). If we make the second argument also ok with nil then still the third on eneeds to be 0 so thereisno gain.

Hans Hagen

2015-11-23 13:17

manager   ~0001554

nil or false are accepted in the find

Issue History

Date Modified Username Field Change
2015-11-23 08:12 patrick New Issue
2015-11-23 08:41 Hans Hagen Assigned To => Hans Hagen
2015-11-23 08:41 Hans Hagen Status new => assigned
2015-11-23 08:41 Hans Hagen Product Version 0.79.1 => 0.85.0
2015-11-23 12:03 Hans Hagen Target Version => 0.86.0
2015-11-23 12:37 Hans Hagen Note Added: 0001553
2015-11-23 12:37 Hans Hagen Status assigned => closed
2015-11-23 12:37 Hans Hagen Resolution open => no change required
2015-11-23 13:17 Hans Hagen Note Added: 0001554
2015-11-23 13:17 Hans Hagen Resolution no change required => fixed