projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New module 'sprintf-posix'.
[gnulib.git]
/
lib
/
w32spawn.h
diff --git
a/lib/w32spawn.h
b/lib/w32spawn.h
index
de0325e
..
18c7824
100644
(file)
--- a/
lib/w32spawn.h
+++ b/
lib/w32spawn.h
@@
-1,5
+1,5
@@
/* Auxiliary functions for the creation of subprocesses. Native Woe32 API.
/* Auxiliary functions for the creation of subprocesses. Native Woe32 API.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003
, 2006, 2007
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
@@
-24,9
+24,9
@@
#include <io.h>
#include <stdbool.h>
#include <io.h>
#include <stdbool.h>
+#include <string.h>
#include <errno.h>
#include <errno.h>
-#include "strpbrk.h"
#include "xalloc.h"
/* Duplicates a file handle, making the copy uninheritable. */
#include "xalloc.h"
/* Duplicates a file handle, making the copy uninheritable. */
@@
-92,7
+92,7
@@
prepare_spawn (char **argv)
;
/* Allocate new argument vector. */
;
/* Allocate new argument vector. */
- new_argv =
(char **) xmalloc ((argc + 1) * sizeof (char *)
);
+ new_argv =
XNMALLOC (argc + 1, char *
);
/* Put quoted arguments into the new argument vector. */
for (i = 0; i < argc; i++)
/* Put quoted arguments into the new argument vector. */
for (i = 0; i < argc; i++)