]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- patch for check if pid was killed by start-stop-daemon; rel 3 auto/th/rc-scripts-0_4_2_7-3 auto/ti/rc-scripts-0_4_2_7-3
authorzbyniu <zbyniu@pld-linux.org>
Tue, 9 Mar 2010 01:11:44 +0000 (01:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts.spec -> 1.322
    start-stop-daemon-pid-check.patch -> 1.1

rc-scripts.spec
start-stop-daemon-pid-check.patch [new file with mode: 0644]

index 7e8fe51475d0902106ad5500c1f74597e78df4ef..6492ba0d506874b415af92777c4da3a284e2fec8 100644 (file)
@@ -9,13 +9,14 @@ Summary(pl.UTF-8):    inittab i skrypty startowe z katalogu /etc/rc.d
 Summary(tr.UTF-8):     inittab ve /etc/rc.d dosyaları
 Name:          rc-scripts
 Version:       0.4.2.7
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Base
 Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5: e63df4abb56f1498d39745596d33470f
 Patch0:                dropcaps.patch
 Patch1:                %{name}-lc.patch
+Patch2:                start-stop-daemon-pid-check.patch
 URL:           http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -106,6 +107,7 @@ programcıklar içerir.
 %setup -q
 %patch0 -p0
 %patch1 -p0
+%patch2 -p0
 
 %build
 %{__aclocal}
diff --git a/start-stop-daemon-pid-check.patch b/start-stop-daemon-pid-check.patch
new file mode 100644 (file)
index 0000000..3cc8de0
--- /dev/null
@@ -0,0 +1,12 @@
+--- src/start-stop-daemon.c    2004-07-19 20:56:49.000000000 +0200
++++ src/start-stop-daemon.c    2004-08-28 21:00:33.000000000 +0200
+@@ -734,7 +734,8 @@
+               return;
+       if (start && !pid_is_running(pid))
+               return;
+-      push(&found, pid);
++      if (stop && pid_is_running(pid))
++              push(&found, pid);
+ }
+ static void
This page took 0.038471 seconds and 4 git commands to generate.