Subject: /usr/bin/patch -F0 fails
To: None <current-users@netbsd.org>
From: David Hopper <dhop@nwlink.com>
List: current-users
Date: 10/01/2004 13:04:10
Okay, this is weird. I posted this to tech-pkg but now understand it
to be an error on this particular build of -current on this Alpha,
dated Sep. 30. There were getopts changes to /usr/bin/patch in August
that seem to cause the fuzz option to fail on this 2.0H machine.
SCARAB) patch --version
Patch version 2.0, patch level 12u8
SCARAB) ls -laF `which patch`
-r-xr-xr-x 1 root wheel 72093 Sep 30 14:03 /usr/bin/patch*
SCARAB) patch -F0
patch: unrecognized option `-F0'
Data points:
1. -Fn works with the same patch version 12u8 on 2.0F Alpha and x86
userlands from June.
2. Every other option works, only -Fn fails.
3. Building manually in src/usr.bin/patch doesn't fix the error.
4. Mandoc, command-line help, and the source code indicate -Fn should
be there.
What should I look at rebuilding?
--dhop