GNU bug report logs - #5296
vc-rcs rcsdiff -u1 -> -u -1

Previous Next

Package: emacs;

Reported by: karl <at> freefriends.org (Karl Berry)

Date: Sun, 3 Jan 2010 13:06:02 UTC

Severity: normal

Done: Dan Nicolaescu <dann <at> ics.uci.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: bug-gnu-emacs <at> gnu.org (Emacs bug Tracking System)
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: emacs-bug-tracker <at> debbugs.gnu.org
Subject: bug#5296: marked as done (vc-rcs rcsdiff -u1 -> -u -1)
Date: Mon, 04 Jan 2010 03:56:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 3 Jan 2010 19:55:42 -0800 (PST)
with message-id <201001040355.o043tgnf016355 <at> godzilla.ics.uci.edu>
and subject line Re: bug#5296: vc-rcs rcsdiff -u1 -> -u -1
has caused the Emacs bug report #5296,
regarding vc-rcs rcsdiff -u1 -> -u -1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact bug-gnu-emacs <at> gnu.org
immediately.)


-- 
5296: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5296
Emacs Bug Tracking System
Contact bug-gnu-emacs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: karl <at> freefriends.org (Karl Berry)
To: bug-emacs <at> gnu.org
Subject: vc-rcs rcsdiff -u1 -> -u -1
Date: Sat, 2 Jan 2010 22:49:43 GMT
In Emacs 23.1, doing vc-diff on an RCS file results in an error with
GNU diff 2.8.1 (or later):

/usr/bin/diff: `-1' option is obsolete; use `-U 1'                          
..

The *Messages* buffer reports:
vc-do-command: Running rcsdiff -q   -p -u1 maintainers...FAILED (status 2)

I could not quickly tell where the invocation was in vc-rcs.el, but
afaik replacing -u1 with -u 1 (or -U 1) is the solution.  (The workaround for
users is to set _POSIX2_VERSION=0 in the environment.)

karl



[Message part 3 (message/rfc822, inline)]
From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: karl <at> freefriends.org (Karl Berry)
Cc: 5296-done <at> debbugs.gnu.org
Subject: Re: bug#5296: vc-rcs rcsdiff -u1 -> -u -1
Date: Sun, 3 Jan 2010 19:55:42 -0800 (PST)
karl <at> freefriends.org (Karl Berry) writes:

  >     Do you set `diff-switches' to "-u1" ?
  > 
  > You're completely right (I did that umpteen years ago).

In that case we can close the bug.


This bug report was last modified 15 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.