diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-07 00:05:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-07 00:05:29 +0000 |
commit | 3b901ced8c9c7ea63610a8728ce43b1b7968174f (patch) | |
tree | 50bc49cfa2af7e467e89696238f44adb04ab1822 /sys-process/dcron/files | |
parent | Version bump (diff) | |
download | historical-3b901ced8c9c7ea63610a8728ce43b1b7968174f.tar.gz historical-3b901ced8c9c7ea63610a8728ce43b1b7968174f.tar.bz2 historical-3b901ced8c9c7ea63610a8728ce43b1b7968174f.zip |
old
Diffstat (limited to 'sys-process/dcron/files')
-rw-r--r-- | sys-process/dcron/files/dcron-2.9-pidfile.patch | 22 | ||||
-rw-r--r-- | sys-process/dcron/files/digest-dcron-2.9-r4 | 3 |
2 files changed, 0 insertions, 25 deletions
diff --git a/sys-process/dcron/files/dcron-2.9-pidfile.patch b/sys-process/dcron/files/dcron-2.9-pidfile.patch deleted file mode 100644 index ff74521ff173..000000000000 --- a/sys-process/dcron/files/dcron-2.9-pidfile.patch +++ /dev/null @@ -1,22 +0,0 @@ -Write out a pidfile - ---- dcron/main.c -+++ dcron/main.c -@@ -122,8 +122,15 @@ - perror("fork"); - exit(1); - } -- if (pid > 0) -- exit(0); -+ if (pid > 0) { -+ int fdpid; -+ char pidstr[24]; -+ fdpid = open("/var/run/cron.pid", O_WRONLY|O_CREAT|O_TRUNC, 0664); -+ sprintf(pidstr, "%d\n", pid); -+ write(fdpid, pidstr, strlen(pidstr)); -+ close(fdpid); -+ exit(0); -+ } - } - - /* diff --git a/sys-process/dcron/files/digest-dcron-2.9-r4 b/sys-process/dcron/files/digest-dcron-2.9-r4 deleted file mode 100644 index 757aa6f6435e..000000000000 --- a/sys-process/dcron/files/digest-dcron-2.9-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 120fb2ca3d91496b32df0ab01dcaec5e dcron29.tgz 15608 -RMD160 99fb2c6bf686531b8e76464cb0b240e7ceaef881 dcron29.tgz 15608 -SHA256 118876c6e7a6b9cdcfd028536493f4d6ccb1b6cdf0d90352528aa7ca1e308f9a dcron29.tgz 15608 |