GNU bug report logs -
#5296
vc-rcs rcsdiff -u1 -> -u -1
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5296 in the body.
You can then email your comments to 5296 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5296
; Package
emacs
.
(Sun, 03 Jan 2010 13:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
karl <at> freefriends.org (Karl Berry)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 03 Jan 2010 13:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5296
; Package
emacs
.
(Sun, 03 Jan 2010 18:00:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 5296 <at> debbugs.gnu.org (full text, mbox):
karl <at> freefriends.org (Karl Berry) writes:
> 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.)
Do you set `diff-switches' to "-u1" ?
This call:
(vc-switches 'RCS 'diff)
in `vc-rcs-diff' uses `diff-switches', and passes the result to "rcsdiff".
Not sure what to do here. We already have a bug:
#4422: diff-switches is a bad idea
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5296
; Package
emacs
.
(Sun, 03 Jan 2010 22:32:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 5296 <at> debbugs.gnu.org (full text, mbox):
Do you set `diff-switches' to "-u1" ?
You're completely right (I did that umpteen years ago). Sorry for
wasting everyone's time.
#4422: diff-switches is a bad idea
Despite my own bug, I don't agree it's a bad idea.
Reply sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
You have taken responsibility.
(Mon, 04 Jan 2010 03:56:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
karl <at> freefriends.org (Karl Berry)
:
bug acknowledged by developer.
(Mon, 04 Jan 2010 03:56:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 5296-done <at> debbugs.gnu.org (full text, mbox):
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.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 01 Feb 2010 12:24:04 GMT)
Full text and
rfc822 format available.
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.