[PATCH] Ignore touch -f flag

Denys Vlasenko vda.linux at googlemail.com
Wed Nov 28 11:18:51 PST 2007


On Wednesday 28 November 2007 06:55, Tobias Poschwatta wrote:
> On Wed, Nov 28, 2007 at 03:37:12PM +0100, Bernhard Fischer wrote:
> > touch -f is not part of SUSv3, so should depend on some TOUCH_GNU_COMPAT
> > toggle, imho.
>
> -f has a meaning on BSD:
>   Attempt to force the update, even if the file permissions do not
>   currently permit it.
>   (http://leaf.dragonflybsd.org/cgi/web-man?command=touch&section=ANY)
>
> GNU coreutils ignore -f, too. Wouldn't this make it TOUCH_BSD_COMPAT?

Come on guys, it's 5 bytes or so. No need to have an option for that.
--
vda


More information about the busybox mailing list