diff options
author | Paul Smith <psmith@gnu.org> | 2006-01-04 14:45:16 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2006-01-04 14:45:16 +0000 |
commit | 64e16d6c00a59fcff9681e032ac8dbec46d3e960 (patch) | |
tree | 48a8511b273fdfc555442951b97cca3fceb79ee6 /read.c | |
parent | 3d0d9e5d75eecd48d106918e0f568590f67fc26a (diff) | |
download | gunmake-64e16d6c00a59fcff9681e032ac8dbec46d3e960.tar.gz |
Various changes getting ready for the release of 3.81.
- Updates to make.texi and make.1 and other documentation
- Some VMS patches
- Fix minor bugs reported on the mailing list and from Debian.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1177,10 +1177,12 @@ eval (struct ebuffer *ebuf, int set_default) /* Put all the prerequisites here; they'll be parsed later. */ deps = (struct dep *) xmalloc (sizeof (struct dep)); deps->next = 0; - deps->name = xstrdup (beg); + deps->name = savestring (beg, end - beg + 1); + deps->file = 0; + deps->changed = 0; + deps->ignore_mtime = 0; deps->staticpattern = 0; deps->need_2nd_expansion = 0; - deps->file = 0; } else deps = 0; |