summaryrefslogtreecommitdiff
path: root/posix/spawn_faction_addopen.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_addopen.c
parent4a9dcff10ec07770aaf0b4dedaac44eacbbaa110 (diff)
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_addopen.c')
-rw-r--r--posix/spawn_faction_addopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/spawn_faction_addopen.c b/posix/spawn_faction_addopen.c
index 3e0c62659e..f438ec1c1e 100644
--- a/posix/spawn_faction_addopen.c
+++ b/posix/spawn_faction_addopen.c
@@ -36,10 +36,10 @@ posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions,
if (fd < 0 || fd >= 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. */