]> git.pld-linux.org Git - packages/bacula.git/blobdiff - bacula-pidfile.patch
- new
[packages/bacula.git] / bacula-pidfile.patch
diff --git a/bacula-pidfile.patch b/bacula-pidfile.patch
new file mode 100644 (file)
index 0000000..05fa08e
--- /dev/null
@@ -0,0 +1,20 @@
+--- bacula-1.34.1/src/lib/bsys.c.pidfile       2004-04-10 13:12:14.000000000 +0200
++++ bacula-1.34.1/src/lib/bsys.c       2004-04-18 20:04:37.000000000 +0200
+@@ -299,7 +299,7 @@
+    POOLMEM *fname = get_pool_memory(PM_FNAME);
+    struct stat statp;
+-   Mmsg(&fname, "%s/%s.%d.pid", dir, progname, port);
++   Mmsg(&fname, "%s/%s.pid", dir, progname);
+    if (stat(mp_chr(fname), &statp) == 0) {
+       /* File exists, see what we have */
+       *pidbuf = 0;
+@@ -343,7 +343,7 @@
+       return 0;
+    }
+    del_pid_file_ok = FALSE;
+-   Mmsg(&fname, "%s/%s.%d.pid", dir, progname, port);
++   Mmsg(&fname, "%s/%s.pid", dir, progname);
+    unlink(mp_chr(fname));
+    free_pool_memory(fname);
+ #endif
This page took 0.030459 seconds and 4 git commands to generate.