diff: regression in 1.2?
Joerg Sonnenberger
joerg at britannica.bec.de
Tue Apr 12 00:36:02 PDT 2005
On Mon, Apr 11, 2005 at 11:09:03AM -0700, Claus Assmann wrote:
> There seems to be a regression in diff as compiled in DragonFly 1.2.
> Example: have a file f1 and compare it to stdin:
>
> diff f1 - <<EOF
> something
> EOF
>
> works in 1.0A. In 1.2 I get this error:
> diff: missing operand after '-'
>
> even though both diff versions are the same (GNU diffutils) 2.8.1
>
> Maybe getopt() has been changed?
It has, but this code uses getopt_long. Let me see what the problem is.
Joerg
More information about the Bugs
mailing list