Source-Changes-HG archive

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

[src/trunk]: src/external/mit/lua/dist/src Define LUA_STRFTIMEOPTIONS so that...



details:   https://anonhg.NetBSD.org/src/rev/be78c3ae7577
branches:  trunk
changeset: 817804:be78c3ae7577
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Sat Sep 10 09:29:13 2016 +0000

description:
Define LUA_STRFTIMEOPTIONS so that the conversion specifications of the Lua
os.date() function match the conversion specifications of the underlying
strftime() function.

diffstat:

 external/mit/lua/dist/src/luaconf.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r cb6748c57ff6 -r be78c3ae7577 external/mit/lua/dist/src/luaconf.h
--- a/external/mit/lua/dist/src/luaconf.h       Sat Sep 10 08:21:26 2016 +0000
+++ b/external/mit/lua/dist/src/luaconf.h       Sat Sep 10 09:29:13 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: luaconf.h,v 1.17 2016/09/08 02:21:31 salazar Exp $     */
+/*     $NetBSD: luaconf.h,v 1.18 2016/09/10 09:29:13 mbalmer Exp $     */
 
 /*
 ** Id: luaconf.h,v 1.255 2016/05/01 20:06:09 roberto Exp 
@@ -770,6 +770,8 @@
 
 #ifdef __NetBSD__
 
+#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjklmMnprRsStTuUvVwWxXyYzZi%"
+
 /* Integer types */
 #undef LUA_INTEGER
 #undef LUA_INTEGER_FRMLEN



Home | Main Index | Thread Index | Old Index