aboutsummaryrefslogtreecommitdiff
path: root/posix/spawn_faction_adddup2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-01 19:08:30 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-01 19:08:30 +0000
commitd77cd295eb5bde456868eb5d7c71042edaa88151 (patch)
tree009cdfc6bae0fc762f5ac9da7c81dc04f3f599e5 /posix/spawn_faction_adddup2.c
parent4a9dcff10ec07770aaf0b4dedaac44eacbbaa110 (diff)
downloadglibc-d77cd295eb5bde456868eb5d7c71042edaa88151.tar
glibc-d77cd295eb5bde456868eb5d7c71042edaa88151.tar.gz
glibc-d77cd295eb5bde456868eb5d7c71042edaa88151.tar.bz2
glibc-d77cd295eb5bde456868eb5d7c71042edaa88151.zip
Update.
* Makefile (repertoiremaps): Remove variable. (distribute): Remove repertoiremaps. (install-others): Likewise. Add .gz to charmaps. ($(inst_i18ndir)/charmaps/%): Install in gzipped format. 2000-09-30 Bruno Haible <haible@clisp.cons.org>
Diffstat (limited to 'posix/spawn_faction_adddup2.c')
-rw-r--r--posix/spawn_faction_adddup2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/spawn_faction_adddup2.c b/posix/spawn_faction_adddup2.c
index f8de8ca7f6..46dd5ed129 100644
--- a/posix/spawn_faction_adddup2.c
+++ b/posix/spawn_faction_adddup2.c
@@ -35,10 +35,10 @@ posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t *file_actions,
if (fd < 0 || newfd < 0 || fd >= maxfd || newfd >= maxfd)
return EBADF;
- /* Allocate more memory of needed. */
+ /* Allocate more memory if needed. */
if (file_actions->__used == file_actions->__allocated
&& __posix_spawn_file_actions_realloc (file_actions) != 0)
- /* THis can only mean we ran out of memory. */
+ /* This can only mean we ran out of memory. */
return ENOMEM;
/* Add the new value. */