lua-users home
lua-l archive

Re: Badly formatted os.date format crashes

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I runned this statement (MacOSX10.5.4), but did not got a crash allthough the result might not be the one intended:
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> print (os.date("%.d", 123))
.d
> ^D
Hans van der Meer
On 9 sep 2008, at 12:52, David Welch wrote:
Hi,
Just a heads up about a possible bug. I have a lua script with:
os.date("%.d", 123)
which crashes when run. The lua version is Lua 5.1.4 which I downloaded from lua binaries.
--
David Welch
Thorcom Systems Limited, Unit 4, 96B Blackpole Trading Estate West, Worcester, WR3 8TJ
Tel: +44 (0)1905 756700 Fax: +44 (0)1905 755777 Web: www.thorcom.co.uk
Registered in England and Wales number 2704696.

AltStyle によって変換されたページ (->オリジナル) /