Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 17 May 2002 20:07:54 +0200
From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Reply-To: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <186630776698.20020517200754@familiehaase.de>
To: Eric Blake <ebb9@email.byu.edu>
CC: cygwin@cygwin.com
Subject: Re: problem with diffutils
In-Reply-To: <3CE53263.C09B6109@email.byu.edu>
References: <3CE53263.C09B6109@email.byu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Eric schrieb:

> Is anyone else experiencing this? Today I updated to the new
> diffutils-2.8.1-1, and now I can't perform diff on files:

> $ echo line 1 > a.txt
> $ echo line 2 >> a.txt
> $ echo line 2 >> b.txt
> $ echo line 3 >> b.txt
> $ cat a.txt b.txt
> line 1
> line 2
> line 2
> line 3
> $ diff a.txt b.txt
> diff: a.txt: Invalid argument
> $ diff -- a.txt b.txt
> diff: a.txt: Invalid argument

> As the same version of diff is working fine on my Linux box, I suspect
> there is a cygwin-related bug.

This is the old version (diff):

$ diff a.txt b.txt
1d0
< line 1
2a2
> line 3

This is the latest version (diffutils):

$ diff a.txt b.txt
1d0
< line 1
2a2
> line 3


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

