[Bug 441] Add setlock and -L and -l support to runit/chpst.c

bugzilla at busybox.net bugzilla at busybox.net
Sat Aug 22 17:45:05 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=441





--- Comment #5 from Denys Vlasenko <vda.linux at googlemail.com>  2009-08-22 17:45:05 UTC ---
> Patch of chpst.c against more recent version

Which version exactly?


--- chpst.c.orig        2009-07-09 13:58:01.000000000 -0700
+++ chpst.c.new     2009-08-02 07:40:58.000000000 -0700

There is no chpst.c.new file in the tree. Thus, patch can't be applied without
hand-fixing.

Generally, patches should be in this format:

diff -d -urpN busybox.0/miscutils/beep.c busybox.1/miscutils/beep.c
--- busybox.0/miscutils/beep.c  2009-08-22 14:52:14.000000000 +0200
+++ busybox.1/miscutils/beep.c  2009-08-22 17:57:53.000000000 +0200

so that they apply cleanly with "patch -p1 <patch" in the top directory of the
source tree.


After fixing that, I got:

# patch -p0 </tmp/chpst.diff
patching file chpst.c
Hunk #6 FAILED at 202.
1 out of 7 hunks FAILED -- saving rejects to file chpst.c.rej


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list