diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-12-30 22:03:44 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-12-30 22:03:44 +0800 |
commit | 7808473f110af989365c05f7168234bd0f4a9168 (patch) | |
tree | fbd7b68e4f9b497732eb89856ae4649bc497b2eb /games | |
parent | 84b63683708ff239599628b5c798c8bb8afd9c45 (diff) | |
download | freebsd-ports-gnome-7808473f110af989365c05f7168234bd0f4a9168.tar.gz freebsd-ports-gnome-7808473f110af989365c05f7168234bd0f4a9168.tar.zst freebsd-ports-gnome-7808473f110af989365c05f7168234bd0f4a9168.zip |
- Fix the game keeping running in a loop before exiting (not doing it at all).
Obtained from: http://svn.quakedev.com/viewcvs.cgi/qudos/trunk/src/unix/sys_unix.c?view=log (was backed out in release)
Diffstat (limited to 'games')
-rw-r--r-- | games/qudos/files/patch-src__unix__sys_unix.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games/qudos/files/patch-src__unix__sys_unix.c b/games/qudos/files/patch-src__unix__sys_unix.c new file mode 100644 index 000000000000..238122236942 --- /dev/null +++ b/games/qudos/files/patch-src__unix__sys_unix.c @@ -0,0 +1,20 @@ +--- src/unix/sys_unix.c.orig Fri Jun 2 12:50:26 2006 ++++ src/unix/sys_unix.c Sat Dec 30 10:57:29 2006 +@@ -89,7 +89,7 @@ + CL_Shutdown(); + Qcommon_Shutdown(); + fcntl(0, F_SETFL, fcntl(0, F_GETFL, 0) & ~FNDELAY); +- exit(0); ++ _exit(0); + } + + void +@@ -117,7 +117,7 @@ + va_end(argptr); + fprintf(stderr, "Error: %s\n", string); + +- exit(1); ++ _exit(1); + + } + |