Upper chars are OK in --split, too.

This commit is contained in:
Moritz Bunkus 2005-06-22 16:56:34 +00:00
parent 0c356f0350
commit f76cf0353e

View File

@ -752,7 +752,7 @@ parse_split_size(const string &arg) {
mxerror(_("Invalid split size in '--split %s'.\n"), arg.c_str());
// Size in bytes/KB/MB/GB
mod = s[s.length() - 1];
mod = tolower(s[s.length() - 1]);
modifier = 1;
if (mod == 'k')
modifier = 1024;