freebsd-dev/usr.bin/sort
Pedro F. Giffuni b904ab99bc sort(1): Cleanups and a small memory leak.
Remove useless check for leading blanks in the month name.  The
code didn't adjust len after stripping blanks so even if a month
*did* start with a blank we'd end up copying garbage at the end.
Also convert a malloc + memcpy to strdup and fix a memory leak in
the wide char version if mbstowcs() fails.
Originally from Andre Smagin.

Obtained from:  OpenBSD (CVS rev. 1.2, 1.3)
MFC after:	1 week
2015-04-07 01:17:29 +00:00
..
nls - Update catalogs 2012-05-14 09:55:23 +00:00
bwstring.c sort(1): Cleanups and a small memory leak. 2015-04-07 01:17:29 +00:00
bwstring.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
coll.c Revert (partial) r281123, r281125: 2015-04-06 02:35:55 +00:00
coll.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
file.c Revert (partial) r281123, r281125: 2015-04-06 02:35:55 +00:00
file.h sort: Cleanup small issues with spaces. 2015-04-05 22:22:43 +00:00
Makefile Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
mem.c Revert (partial) r281123, r281125: 2015-04-06 02:35:55 +00:00
mem.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
radixsort.c sort: style knits / cleanups. 2015-04-06 03:02:20 +00:00
radixsort.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
sort.1.in sort: Cleanup small issues with spaces. 2015-04-05 22:22:43 +00:00
sort.c sort: style knits / cleanups. 2015-04-06 03:02:20 +00:00
sort.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
vsort.c Revert (partial) r281123, r281125: 2015-04-06 02:35:55 +00:00
vsort.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00