diff options
author | Paul Smith <psmith@gnu.org> | 1999-08-01 06:05:17 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-08-01 06:05:17 +0000 |
commit | 09f1e4cf83853e3636a19da17e28e7291aac9bbd (patch) | |
tree | fe4ecf9442cdaee89f0c62c7dab3d02985f90c0e /read.c | |
parent | 28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3 (diff) | |
download | gunmake-09f1e4cf83853e3636a19da17e28e7291aac9bbd.tar.gz |
* Applied some DOS updates.
* Started reworking the jobserver algorithm; not complete yet.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -658,8 +658,7 @@ read_makefile (filename, flags) if (*p == '\0') { error (&fileinfo, - _("no file name for `%sinclude'"), - noerror ? "-" : ""); + _("no file name for `%sinclude'"), noerror ? "-" : ""); continue; } @@ -692,8 +691,7 @@ read_makefile (filename, flags) if (! read_makefile (name, (RM_INCLUDED | RM_NO_TILDE | (noerror ? RM_DONTCARE : 0))) && ! noerror) - error (&fileinfo, - "%s: %s", name, strerror (errno)); + error (&fileinfo, "%s: %s", name, strerror (errno)); free(name); } @@ -1442,7 +1440,7 @@ record_target_var (filenames, defn, two_colon, origin, flocp) /* Make the new variable context current and define the variable. */ current_variable_set_list = vlist; - v = try_variable_definition(flocp, defn, origin); + v = try_variable_definition (flocp, defn, origin); if (!v) error (flocp, _("Malformed per-target variable definition")); v->per_target = 1; @@ -1455,10 +1453,10 @@ record_target_var (filenames, defn, two_colon, origin, flocp) int len = strlen(v->name); current_variable_set_list = global; - gv = lookup_variable(v->name, len); + gv = lookup_variable (v->name, len); if (gv && (gv->origin == o_env_override || gv->origin == o_command)) - define_variable_in_set(v->name, len, gv->value, gv->origin, - gv->recursive, vlist->set); + define_variable_in_set (v->name, len, gv->value, gv->origin, + gv->recursive, vlist->set); } /* Free name if not needed further. */ |