* Noteworthy changes in release ?.? (????-??-??) [?]
+** Bug fixes
+
+ truncate -s failed to skip all whitespace in the option argument in
+ some locales.
* Noteworthy changes in release 7.4 (2009-05-07) [stable]
/* truncate -- truncate or extend the length of files.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
case 's':
/* skip any whitespace */
- while (isspace (*optarg))
+ while (isspace (to_uchar (*optarg)))
optarg++;
switch (*optarg)
{
break;
}
/* skip any whitespace */
- while (isspace (*optarg))
+ while (isspace (to_uchar (*optarg)))
optarg++;
if (*optarg == '+' || *optarg == '-')
{