projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* MODULES.html.sh (File system functions): New module
[gnulib.git]
/
lib
/
wait-process.c
diff --git
a/lib/wait-process.c
b/lib/wait-process.c
index
b36af18
..
f39b41b
100644
(file)
--- a/
lib/wait-process.c
+++ b/
lib/wait-process.c
@@
-1,5
+1,5
@@
/* Waiting for a subprocess to finish.
/* Waiting for a subprocess to finish.
- Copyright (C) 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003
, 2005-2006
Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@
-17,9
+17,7
@@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <config.h>
/* Specification. */
#include "wait-process.h"
/* Specification. */
#include "wait-process.h"
@@
-205,6
+203,7
@@
register_slave_subprocess (pid_t child)
slaves_entry_t *old_slaves = slaves;
size_t new_slaves_allocated = 2 * slaves_allocated;
slaves_entry_t *new_slaves =
slaves_entry_t *old_slaves = slaves;
size_t new_slaves_allocated = 2 * slaves_allocated;
slaves_entry_t *new_slaves =
+ (slaves_entry_t *)
malloc (new_slaves_allocated * sizeof (slaves_entry_t));
if (new_slaves == NULL)
{
malloc (new_slaves_allocated * sizeof (slaves_entry_t));
if (new_slaves == NULL)
{