summaryrefslogtreecommitdiff
path: root/www/xitami/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/xitami/files/patch-ab')
-rw-r--r--www/xitami/files/patch-ab23
1 files changed, 11 insertions, 12 deletions
diff --git a/www/xitami/files/patch-ab b/www/xitami/files/patch-ab
index ce40b9891bb6..123e0a469c52 100644
--- a/www/xitami/files/patch-ab
+++ b/www/xitami/files/patch-ab
@@ -1,21 +1,20 @@
---- src/smt/xitami.c.orig Sat Aug 8 15:48:29 1998
-+++ src/smt/xitami.c Sat Aug 8 15:50:15 1998
-@@ -163,13 +163,17 @@
+--- src/smt/.vimbk/xitami.c.vimbk Sat Apr 1 18:11:39 2000
++++ src/smt/xitami.c Tue Nov 7 10:01:40 2000
+@@ -168,7 +168,7 @@
fclose (stdout); /* Kill standard output */
fclose (stderr); /* and standard error */
}
- else
+ else if (*background == '0')
-+ {
puts (COPYRIGHT);
-+ }
if (*background == '1')
- {
+@@ -177,7 +177,7 @@
+ *background_args [] = { "-s", NULL };
+
puts ("Moving into the background");
- process_server (NULL, NULL); /* Put process into background */
-+ if (process_server (NULL, "/var/run/xitami.pid") != 0)
-+ exit (EXIT_FAILURE);
- }
- /* Initialise SMT and run the HTTP agent until it has finished */
- server_name = "Xitami";
+- if (process_server (NULL, NULL, argc, argv, background_args) != 0)
++ if (process_server (NULL, "/var/run/xitami.pid", argc, argv, background_args) != 0)
+ {
+ puts ("Backgrounding failed. Giving up.");
+ exit (EXIT_FAILURE);