diff options
author | Christopher Faylor <me@cgf.cx> | 2013-06-19 16:00:43 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-06-19 16:00:43 +0000 |
commit | 37ee5b49affbd393b04b620942d846efc9687082 (patch) | |
tree | f49423a6d488410446d4102babe20202ad2dd361 /newlib/libc/stdio/siprintf.c | |
parent | 82c19d335abd0ee957ad5c3167755a545521504a (diff) | |
download | cygnal-37ee5b49affbd393b04b620942d846efc9687082.tar.gz cygnal-37ee5b49affbd393b04b620942d846efc9687082.tar.bz2 cygnal-37ee5b49affbd393b04b620942d846efc9687082.zip |
* spawn.cc (child_info_spawn::worker): Eliminate call to newargv.set() in favor
of conglomerated newargv.setup(). Let newargv.setup() decide when to call
dup_all(). Only set argc and argv for cygwin processes.
(av::setup): Rename from av::fixup. Accept argc and argv parameters. Fill out
argv and argc here. Duplicate whole argv structure when this is a Cygwin
executable.
* winf.cc (linebuf::fromargv): Don't bother duplicating argv elements since
they will never be used.
* winf.h (av::set): Delete.
(av::setup): Rename from av::fixup. Add two parameters.
(av::replace0_maybe): Assign calloced to 1 rather than 'true' for clarity.
(av::dup_maybe): Delete.
(av::dup_all): Set calloced to show that we have duplicated all of the
arguments in the list.
Diffstat (limited to 'newlib/libc/stdio/siprintf.c')
0 files changed, 0 insertions, 0 deletions