(parse_param): Fix typo.
authordrepper <drepper>
Tue, 17 Mar 1998 17:47:04 +0000 (17:47 +0000)
committerdrepper <drepper>
Tue, 17 Mar 1998 17:47:04 +0000 (17:47 +0000)
posix/wordexp.c

index 51cdc93..1c69af8 100644 (file)
@@ -1377,7 +1377,7 @@ envsubst:
              if (s == NULL)
                return WRDE_NOSPACE;
              *word = memcpy (s, __libc_argv[p], len);
-             *max_length = *word_length = len;
+             *max_length = *word_length = len - 1;
            }
        }