summaryrefslogtreecommitdiff
path: root/www/xitami/files/patch-ab
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-02-26 05:00:12 +0000
committerSteve Price <steve@FreeBSD.org>2001-02-26 05:00:12 +0000
commit2ca9383e736a79749fe3439b319c4b3864b3fce9 (patch)
treee717ec48c8116715cc0e48f3bcc0e12120b1891d /www/xitami/files/patch-ab
parentUpdate to version 1.4.5. (diff)
Update to version 2.4d7.
PR: 25222 Submitted by: Bernd Luevelsmeyer <bdluevel@heitec.net>
Notes
Notes: svn path=/head/; revision=38767
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);