summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-05 14:57:09 +0100
committerJim Meyering <meyering@redhat.com>2007-11-05 14:57:09 +0100
commit17d3924e9ec38d98e82e004f5442619b3514ecbd (patch)
tree25c18e00fe3dea3118926f0a9a81e95e6f4bdb7f /src
parent3bf4bb761c4a22e7e4243d1a9347fc0998690d10 (diff)
downloadcoreutils-17d3924e9ec38d98e82e004f5442619b3514ecbd.tar.xz
* src/c99-to-c89.diff: Adjust offsets.
Diffstat (limited to 'src')
-rw-r--r--src/c99-to-c89.diff8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c99-to-c89.diff b/src/c99-to-c89.diff
index 76ecad28c..c22c6e5e0 100644
--- a/src/c99-to-c89.diff
+++ b/src/c99-to-c89.diff
@@ -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;
}