openbsd-ports/devel/luaposix/patches/patch-test_lua
2009-09-06 15:39:21 +00:00

13 lines
483 B
Plaintext

$OpenBSD: patch-test_lua,v 1.1 2009/09/06 15:39:21 jolan Exp $
--- test.lua.orig Thu Jan 24 08:15:06 2008
+++ test.lua Sun Sep 6 10:36:17 2009
@@ -83,7 +83,7 @@ if pid==0 then
ppid=ox.getpid"ppid"
io.write("in child process ",pid," from ",ppid,".\nnow executing date... ")
io.flush()
- assert(ox.exec("date","+[%c]"))
+ assert(ox.exec("/bin/date","+[%c]"))
print"should not get here"
else
io.write("process ",ox.getpid"pid"," forked child process ",pid,". waiting...\n")