CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/03/18 16:53:27
Modified files:
usr.bin/sort : bwstring.c
Log message:
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. From Andre Smagin
