浏览代码

EXIT_SUCCESS may be different from 0

Roberto Ierusalimschy 23 年之前
父节点
当前提交
98d0b79613
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lua.c

+ 2 - 2
lua.c

@@ -1,5 +1,5 @@
 /*
-** $Id: lua.c,v 1.103 2002/08/13 15:04:59 roberto Exp roberto $
+** $Id: lua.c,v 1.104 2002/09/05 19:45:42 roberto Exp roberto $
 ** Lua stand-alone interpreter
 ** See Copyright Notice in lua.h
 */
@@ -337,7 +337,7 @@ static int handle_argv (char *argv[], int *interactive) {
       return file_input(filename);  /* stop scanning arguments */
     }
   }
-  return EXIT_SUCCESS;
+  return 0;
 }