DragonFly BSD
DragonFly bugs List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: diff: regression in 1.2?


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 12 Apr 2005 09:34:48 +0200
Mail-followup-to: bugs@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]