summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 14:03:44 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 14:03:44 +0000
commit0195aaaef78b7fa97e89181c59d26a57c3fc72f1 (patch)
treef3b5790b580fe42c15f9e51b46a14661c9d1487d /games
parent- Add support for playing .ogg music files in all search paths. (diff)
- 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)
Notes
Notes: svn path=/head/; revision=181050
Diffstat (limited to 'games')
-rw-r--r--games/qudos/files/patch-src__unix__sys_unix.c20
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);
+
+ }
+