summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-01-11 07:31:42 +0000
committerPaul Smith <psmith@gnu.org>2000-01-11 07:31:42 +0000
commitb7b83d6398e8e552dd1b9d70d18d7262753e03d4 (patch)
treecd93d86916bbfca0bac321a121ad67dcd6eb37df /job.c
parentaf44f16799fa185e2729cda1653c80d29b598642 (diff)
downloadgunmake-b7b83d6398e8e552dd1b9d70d18d7262753e03d4.tar.gz
* Change $(call...) to not expand arguments by default.
* Unify the way arguments are passed to builtin functions in function.c.
Diffstat (limited to 'job.c')
-rw-r--r--job.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/job.c b/job.c
index e79b6a7..c920b9f 100644
--- a/job.c
+++ b/job.c
@@ -1341,11 +1341,9 @@ new_job (file)
`struct child', and add that to the chain. */
c = (struct child *) xmalloc (sizeof (struct child));
+ bzero ((char *)c, sizeof (struct child));
c->file = file;
c->command_lines = lines;
- c->command_line = 0;
- c->command_ptr = 0;
- c->environment = 0;
c->sh_batch_file = NULL;
/* Fetch the first command line to be run. */