You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Forney 8ca79a2993 linecmp: Handle NUL bytes properly
Test case:

if [ "$(printf 'a\na\0b' | ./sort -u)" = "$(printf 'a\na\0b')" ] ; then
	echo pass
else
	echo fail
fi
7 years ago
..
concat.c Add *fshut() functions to properly flush file streams 8 years ago
cp.c Align end of comment 8 years ago
crypt.c *sum: support - when using -c 7 years ago
ealloc.c add estrndup 8 years ago
enmasse.c Revert "enmasse: For the special case of 2 args, do not distinguish between dirs and files" 8 years ago
eprintf.c Check argv0 in xvprintf() 8 years ago
eregcomp.c code-style: whitespace fixes 8 years ago
estrtod.c Rename util/ to libutil/ 9 years ago
fnck.c Refactor enmasse() and recurse() to reflect depth 8 years ago
fshut.c Fix typo in libutil/fshut.c 8 years ago
getlines.c Properly increment line lenght on edge-case in getlines() 7 years ago
human.c Use off_t in humansize() as it is more descriptive and applicable 8 years ago
linecmp.c linecmp: Handle NUL bytes properly 7 years ago
md5.c Rename util/ to libutil/ 9 years ago
memmem.c Support NUL-containing lines in sort(1) 7 years ago
mkdirp.c Move mkdirp() to libutil 8 years ago
mode.c Do not indent label 8 years ago
parseoffset.c Use SSIZE_MAX for overflow check in parseoffset() 8 years ago
putword.c Actually print <space> to stream in putword() too 8 years ago
reallocarray.c Implement mallocarray() 8 years ago
recurse.c Add SILENT flag to recurse() 8 years ago
rm.c Add SILENT flag to recurse() 8 years ago
sha1.c Rename util/ to libutil/ 9 years ago
sha224.c add sha224sum and sha384sum 7 years ago
sha256.c add sha224sum and sha384sum 7 years ago
sha384.c add sha224sum and sha384sum 7 years ago
sha512-224.c add sha512-224sum (SHA512/224) and sha512-256sum (SHA512/256) 7 years ago
sha512-256.c add sha512-224sum (SHA512/224) and sha512-256sum (SHA512/256) 7 years ago
sha512.c add sha224sum and sha384sum 7 years ago
strcasestr.c code-style: whitespace fixes 8 years ago
strlcat.c Add estrlcat() and estrlcpy() 8 years ago
strlcpy.c Add estrlcat() and estrlcpy() 8 years ago
strsep.c Import strsep() from musl libc 8 years ago
strtonum.c Use strtonum and libutf in test(1), refactor code and manpage 8 years ago
unescape.c Fix compilation error 7 years ago