bug-coreutils
[Top][All Lists]
Advanced

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

Re: enable -Werror for lib/ in coreutils


From: Jim Meyering
Subject: Re: enable -Werror for lib/ in coreutils
Date: Thu, 29 Oct 2009 12:16:02 +0100

Jim Meyering wrote:
> I've pushed the following to coreutils.
> While I think the rege* changes are useful and do belong in gnulib,
> I'll wait to hear that someone else would benefit from doing something
> similar before migrating my gl/lib/*.diff patches into gnulib.

Humph! ;-)
Silly typo.


>From 75307e7b62043511e774d774bb0addecb48501d8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 29 Oct 2009 12:14:54 +0100
Subject: [PATCH] remove stray closing comment delimiter, "*/", in previous 
change

* gl/lib/regexec.c.diff: Fix a typo.
---
 gl/lib/regexec.c.diff |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gl/lib/regexec.c.diff b/gl/lib/regexec.c.diff
index 5c985f9..d9b6d1c 100644
--- a/gl/lib/regexec.c.diff
+++ b/gl/lib/regexec.c.diff
@@ -1,5 +1,5 @@
 diff --git a/lib/regexec.c b/lib/regexec.c
-index 21a8166..3b0d85c 100644
+index 21a8166..7762437 100644
 --- a/lib/regexec.c
 +++ b/lib/regexec.c
 @@ -18,6 +18,8 @@
@@ -19,7 +19,7 @@ index 21a8166..3b0d85c 100644
 -    return -2;
 +  verify (! TYPE_SIGNED (Idx));
 +  if (BE (len < length1, 0))
-+     return -2; */
++     return -2;
 +  /* if (BE (length1 < 0 || length2 < 0 || stop < 0, 0))
 +     return -2; */

--
1.6.5.2.375.g164f1




reply via email to

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