[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua crashing on unrecognized strings
- From: "Stuart P. Bentley" <stuart@...>
- Date: Mon, 24 Aug 2009 05:57:49 -0700
Yeah, http://www.lua.org/cgi-bin/demo works if you call os.date"%i". I've
reported this on LuaForge.
--------------------------------------------------
From: "Stuart P.Bentley" <stuart@testtrack4.com>
Sent: Monday, August 24, 2009 A5:52
Newsgroups: gmane.comp.lang.lua.general
To: <lua@bazar2.conectiva.com.br>
Subject: lua crashing on unrecognized strings
Using the lua.exe interpreter provided with Lua for Windows, passing any
letter to (os.date("%"..letter)) other than a-d, j, m, p, w-z, A, B, H, I,
M, S, U, or W-Z is causing to crash (as in "has encountered a problem and
needs to close" crash). This also happens when calling io.open with any
undefined format string.
That can't be right, can it? (At the very least %C, %D, %e, %h, %n, %r,
%R, %t, %T, %u, and %V should evaluate as they are defined in the standard
(http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html).)