diff options
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r-- | coreutils/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c index fad6d1244..e2e7983a1 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -128,7 +128,7 @@ static char *get_key(char *str, struct sort_key *key, int flags) | |||
128 | /* Handle -i */ | 128 | /* Handle -i */ |
129 | if (flags & FLAG_i) { | 129 | if (flags & FLAG_i) { |
130 | for (start = end = 0; str[end]; end++) | 130 | for (start = end = 0; str[end]; end++) |
131 | if (isprint(str[end])) | 131 | if (isprint_asciionly(str[end])) |
132 | str[start++] = str[end]; | 132 | str[start++] = str[end]; |
133 | str[start] = '\0'; | 133 | str[start] = '\0'; |
134 | } | 134 | } |