uniq: don't continue field processing after end of line
commitaa9f02bc30c58ab3ec20d243b3cc7c24918bad37
authorSami Kerola <kerolasa@iki.fi>
Sun, 16 Jan 2011 23:27:06 +0000 (17 00:27 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 17 Jan 2011 18:07:58 +0000 (17 19:07 +0100)
tree8f958963babd0dbcb56f46912e6ded7023b1040e
parent442b068ac1573ae00fdf029ddb77b35fdcdf8fc0
uniq: don't continue field processing after end of line

* NEWS (Bug fixes): Mention it.
* src/uniq.c (find_field): Stop processing loop when end of line
is reached.  Before this fix, 'uniq -f 10000000000 /etc/passwd'
would run for a very long time.
NEWS
src/uniq.c