diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-09 19:30:22 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-09 19:30:22 +0000 |
commit | e66ab953ef86dc10ab33bef1158df9ae921d587d (patch) | |
tree | 77ccf0d5d5bb2c4656501be84711a706f010fd78 /src | |
parent | bc4948193399ed85cac11ea9c2c1e9a2605e4192 (diff) | |
download | coreutils-e66ab953ef86dc10ab33bef1158df9ae921d587d.tar.xz |
(set_fields): Make code agree with comment:
Don't merge abutting ranges like 4- and 2-3. This makes no
difference currently, but is required to support an upcoming change.
Diffstat (limited to 'src')
-rw-r--r-- | src/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ set_fields (const char *fieldstr) /* No, the new sequence starts before the old. Does the old range going to end of line extend into the new range? */ - if (value + 1 >= eol_range_start) + if (eol_range_start <= value) { /* Yes. Simply move the end of line marker. */ eol_range_start = initial; |