Module Name: src
Committed By: abhinav
Date: Sun Oct 16 06:17:52 UTC 2016
Fix the bug introduced in the previous commit.
The lengths of the lines being compared were not correct. Essentially, we
were comparing the length of the buffers instead of the length of the strings.
This patch also avoids calling skip() twice for the same line.
Thanks to Rin Okuyama for the patch.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/uniq/uniq.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.