summaryrefslogtreecommitdiff
path: root/com32/lua
diff options
context:
space:
mode:
authorAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-07-18 03:34:28 +0400
committerAlexey Zaytsev <zaytsev.a@protei.ru>2008-07-18 03:34:28 +0400
commit79c52fee1e57e47a43f333532a701afe2b185e59 (patch)
treed73d93cf5a57f24e785ce9fc9ddf31530f5e66de /com32/lua
parent7ec4ebc327c7c9e90556eaef3ab592a08aab59be (diff)
downloadsyslinux-79c52fee1e57e47a43f333532a701afe2b185e59.tar.gz
Err.
Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
Diffstat (limited to 'com32/lua')
-rw-r--r--com32/lua/src/loadlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lua/src/loadlib.c b/com32/lua/src/loadlib.c
index d955f3ef..906b47e0 100644
--- a/com32/lua/src/loadlib.c
+++ b/com32/lua/src/loadlib.c
@@ -589,7 +589,7 @@ static int ll_seeall (lua_State *L) {
static void setpath (lua_State *L, const char *fieldname, const char *envname,
const char *def) {
- const char *path = getenv(envname);
+ const char *path = /*getenv(envname)*/ NULL;
if (path == NULL) /* no environment variable? */
lua_pushstring(L, def); /* use default */
else {