summaryrefslogtreecommitdiff
path: root/lib/human.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-15 07:26:01 +0000
committerJim Meyering <jim@meyering.net>2003-10-15 07:26:01 +0000
commit7edceab01c96c3847b7f22f70357ab8418c2e8dc (patch)
tree48b6bfd52d25ecc63614edb46a9d5d94ca1535cb /lib/human.c
parent3cb9191034c3f8142eee69174a22bc6ba69a066f (diff)
downloadcoreutils-7edceab01c96c3847b7f22f70357ab8418c2e8dc.tar.xz
Sync with gnulib.
Diffstat (limited to 'lib/human.c')
-rw-r--r--lib/human.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/human.c b/lib/human.c
index b342bf178..36cfd7348 100644
--- a/lib/human.c
+++ b/lib/human.c
@@ -450,8 +450,6 @@ humblock (char const *spec, uintmax_t *block_size, int *options)
"eEgGkKmMpPtTyYzZ0");
if (e != LONGINT_OK)
return e;
- if (*ptr)
- return LONGINT_INVALID_SUFFIX_CHAR;
for (; ! ('0' <= *spec && *spec <= '9'); spec++)
if (spec == ptr)
{