BusyBox v1.17.2 BusyBox v1.19.2 Usage: patch [OPTIONS] [ORIGFILE [PATCHFILE]] I can not get patch (it does not do any patching) to work with the same syntax I use with: patch 2.6.1 Copyright (C) 1988 Larry Wall Copyright (C) 2003, 2009 Free Software Foundation, Inc. patch -p0 -N < ../patches/7.3.$b >> ../patches.log I tried removing the '-N' still it does not do any patching. I see 'patch:' quite often in your change log. Is patch working? If yes, what is the working syntax?
(In reply to comment #0) > BusyBox v1.17.2 > BusyBox v1.19.2 > Usage: patch [OPTIONS] [ORIGFILE [PATCHFILE]] > > I can not get patch (it does not do any patching) to work with the same syntax > I use with: > patch 2.6.1 > Copyright (C) 1988 Larry Wall > Copyright (C) 2003, 2009 Free Software Foundation, Inc. > > patch -p0 -N < ../patches/7.3.$b >> ../patches.log > > I tried removing the '-N' still it does not do any patching. Please attach to this bug: * the patch file you are trying to apply * original file(s) before patching * .config file you used to build your busybox binary and specify exact command line you are using. > I see 'patch:' quite often in your change log. > > Is patch working? Not in every imaginable case. However: $ cd testsuite $ ./runtest patch PASS: patch with old_file == new_file PASS: patch with nonexistent old_file PASS: patch -R with nonexistent old_file PASS: patch detects already applied hunk PASS: patch detects already applied hunk at the EOF PASS: patch -N ignores already applied hunk PASS: patch FILE PATCH PASS: patch at the beginning PASS: patch creates new file Apparently, at least some cases are working.