emacs-devel
[Top][All Lists]
Advanced

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

Re: diff-apply-hunk broken


From: Paul Eggert
Subject: Re: diff-apply-hunk broken
Date: Fri, 02 Apr 2004 22:47:11 -0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (usg-unix-v)

At 02 Apr 2004 20:48:04 -0500, Stefan Monnier <address@hidden> writes:

>>> Is --label accepted by all known non-ancient diff implementations?
>> Yes.  --label has been supported ever since diffutils 2.0, released in
>> 1992.  These days it's safe to assume --label, if it's GNU diff.
>
> I can't assume GNU diff.  So how about other system's `diff'?

Some "diff" implementations lack -L, so portable applications cannot
use "diff -L".  For example, Solaris 9 "diff" lacks -L.  -L is not
standardized by POSIX.

I recall that this is not a problem with GNU Emacs, as it tests
whether diff supports -L (or --label) before using that option.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]