diff options
author | Roland McGrath <roland@redhat.com> | 1994-09-10 07:01:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-09-10 07:01:10 +0000 |
commit | 03cd08cca2cdbff4fa6ce254eb219376727c8bdb (patch) | |
tree | 545cf05090967fac37f6390f290c75ba245e3828 /vpath.c | |
parent | dc44a790201a437991b9668c31a5c53fae6d97b8 (diff) | |
download | gunmake-03cd08cca2cdbff4fa6ce254eb219376727c8bdb.tar.gz |
(decode_switches): Loop until optind hits ARGC, not just until getopt_long
returns EOF. Initialize C to zero before loop; in loop if C is EOF, set
optarg from ARGV[optind++], else call getopt_long.
(decode_env_switches): Use variable_expand instead of
allocated_variable_expand. Allocate a fresh buffer to copy split words
into; scan characters by hand to break words and debackslashify.
(shell_quote): New function.
(define_makeflags): Allocate doubled space for switch args, and command
variable names and values; use shell_quote to quote those things.
Diffstat (limited to 'vpath.c')
0 files changed, 0 insertions, 0 deletions