mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-11 01:46:34 -04:00
(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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user