does not set isdst when undefined
diff --git a/loslib.c b/loslib.c
index ca09f69..caf7554 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
 /*
-** $Id: loslib.c,v 1.11 2005/08/15 14:12:32 roberto Exp roberto $
+** $Id: loslib.c,v 1.12 2005/08/26 17:36:32 roberto Exp roberto $
 ** Standard Operating System library
 ** See Copyright Notice in lua.h
 */
@@ -93,6 +93,8 @@
 }
 
 static void setboolfield (lua_State *L, const char *key, int value) {
+  if (value < 0)  /* undefined? */
+    return;  /* does not set field */
   lua_pushboolean(L, value);
   lua_setfield(L, -2, key);
 }