summaryrefslogtreecommitdiff
path: root/vpath.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-09-10 07:01:10 +0000
committerRoland McGrath <roland@redhat.com>1994-09-10 07:01:10 +0000
commit03cd08cca2cdbff4fa6ce254eb219376727c8bdb (patch)
tree545cf05090967fac37f6390f290c75ba245e3828 /vpath.c
parentdc44a790201a437991b9668c31a5c53fae6d97b8 (diff)
downloadgunmake-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