]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/c99-to-c89.diff: Adjust offsets.
authorJim Meyering <meyering@redhat.com>
Mon, 5 Nov 2007 13:57:09 +0000 (14:57 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 5 Nov 2007 13:57:09 +0000 (14:57 +0100)
ChangeLog
src/c99-to-c89.diff

index e9e2892e99755f4814ab6bdcf6bc7c6e7af59d4a..01e062d825da095684f5de5735c544fdf2085ade 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-11-05  Jim Meyering  <meyering@redhat.com>
 
+       * src/c99-to-c89.diff: Adjust offsets.
+
        Don't use GNU-sed-specific \< \> operators here, either.
        * m4/include-exclude-prog.m4 (gl_REMOVE_PROG): Use a loop, as below.
 
index 76ecad28cdd59918ad126c7001854785caca1e5a..c22c6e5e09512a1c43cb5d682a401eb5e50bc3b5 100644 (file)
@@ -92,7 +92,7 @@ diff -upr src/rm.c src/rm.c
 diff -upr src/seq.c src/seq.c
 --- src/seq.c  2007-07-23 12:56:20.000000000 +0200
 +++ src/seq.c  2007-07-23 13:03:12.000000000 +0200
-@@ -156,6 +156,7 @@ scan_arg (const char *arg)
+@@ -164,6 +164,7 @@ scan_arg (const char *arg)
                        : (decimal_point == arg                /* .#  -> 0.# */
                           || ! ISDIGIT (decimal_point[-1]))); /* -.# -> 0.# */
        }
@@ -100,7 +100,7 @@ diff -upr src/seq.c src/seq.c
        char const *e = strchr (arg, 'e');
        if (! e)
        e = strchr (arg, 'E');
-@@ -164,6 +165,7 @@ scan_arg (const char *arg)
+@@ -172,6 +173,7 @@ scan_arg (const char *arg)
          long exponent = strtol (e + 1, NULL, 10);
          ret.precision += exponent < 0 ? -exponent : 0;
        }
@@ -108,7 +108,7 @@ diff -upr src/seq.c src/seq.c
      }
 
    return ret;
-@@ -292,6 +294,7 @@ get_default_format (operand first, opera
+@@ -311,6 +313,7 @@ get_default_format (operand first, opera
          size_t last_width = last.width + (prec - last.precision);
          if (last.precision && prec == 0)
            last_width--;  /* don't include space for '.' */
@@ -116,7 +116,7 @@ diff -upr src/seq.c src/seq.c
          size_t width = MAX (first_width, last_width);
          if (width <= INT_MAX)
            {
-@@ -299,6 +302,7 @@ get_default_format (operand first, opera
+@@ -318,6 +321,7 @@ get_default_format (operand first, opera
              sprintf (format_buf, "%%0%d.%dLf", w, prec);
              return format_buf;
            }