On Wed, Jul 22, 2015 at 4:23 PM, Sevan Janiyan <[email protected]> wrote:
> Attached patch adds the -l flag to cat
> "This option causes cat(1) to use fcntl(2) to set an exclusive advisory
> lock on stdout." which was used to guarantee orderly writing to file.
> Obtained from NetBSD cat.c r1.26

This is the second time you've sent a patching adding a feature
without saying *why* the feature should be added.  That's not very
helpful.

Your first patch for cat added a feature (-f option) to solve problem
in NetBSD which had to be solved in a different way in OpenBSD.  As as
result, we're not adding the -f option to OpenBSD.

So, what's the story with the -l option?  What change/fix in OpenBSD
base requires it?

(It's not portable, so any portable program should be doing this via a
more powerful, portable tool, like perl, python, or C.)


Philip Guenther

Reply via email to