diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-18 09:01:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-18 09:01:59 +0000 |
commit | 9eecb5e8f3903a6fe66ac88f9218935130e77042 (patch) | |
tree | 67594caa357c4117cf65e55663641086f41b892d /posix | |
parent | 488690121208fb26e6f87cdbbf9bf540fa4a7140 (diff) | |
download | glibc-9eecb5e8f3903a6fe66ac88f9218935130e77042.tar glibc-9eecb5e8f3903a6fe66ac88f9218935130e77042.tar.gz glibc-9eecb5e8f3903a6fe66ac88f9218935130e77042.tar.bz2 glibc-9eecb5e8f3903a6fe66ac88f9218935130e77042.zip |
Update.
1998-03-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
Optimize memmory handling.
* sysdeps/unix/closedir.c: Optmize memory handling.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/wordexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/wordexp.c b/posix/wordexp.c index 51cdc93df5..1c69af8a1c 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -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; } } |