Further investigation shows that /home/software/lua/install-5.3.3/bin/lua test.lua
gives the bad result while /home/software/lua/install-5.3.5/bin/lua test.lua gives the correct result where these are locally built versions 5.3.3 and 5.3.5 of lua. I have also confirmed that the locally built 5.3.5 version also solves the run-time issue with PLplot that started me on this bug hunt. So clearly this is an upstream bug for 5.3.3 that has been fixed by upstream 5.3.5, and the Debian solution for this bug should be simply to package 5.3.5. Alan __________________________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________