bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [diffutils] Bug in cmp


From: Paul Eggert
Subject: Re: [diffutils] Bug in cmp
Date: Wed, 12 Nov 2003 01:39:39 -0800 (PST)

> Date: Tue, 11 Nov 2003 17:19:45 -0500
> From: "Paul Smith" <address@hidden>

> Ideally multiple "-s" options would be ignored, but failing that at
> least the error message needs to be accurate.

True; I'll install something like this in the next diffutils version.

--- cmp.c       2002/06/17 06:45:46     1.36
+++ cmp.c       2003/07/26 14:22:01
@@ -142,7 +142,7 @@ parse_ignore_initial (char **argptr, cha
 static void
 specify_comparison_type (enum comparison_type t)
 {
-  if (comparison_type)
+  if (comparison_type && comparison_type != t)
     try_help ("options -l and -s are incompatible", 0);
   comparison_type = t;
 }





reply via email to

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