History log of /external/bluetooth/glib/tests/spawn-test-win32-gui.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f38edf367853e14dc79e325b5f71f9af25b8814 31-Mar-2004 Tor Lillqvist <tml@iki.fi> Minor Cygwin fix. (#138405, Roger Leigh)

2004-03-31 Tor Lillqvist <tml@iki.fi>

* tests/spawn-test-win32-gui.c: Minor Cygwin fix. (#138405, Roger
Leigh)
/external/bluetooth/glib/tests/spawn-test-win32-gui.c
f4cb22c78d573d53dba62b7f6743cbe0a1d1e135 10-Mar-2004 Tor Lillqvist <tml@iki.fi> glib/gspawn-win32.c Implement G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce

2004-03-10 Tor Lillqvist <tml@iki.fi>

* glib/gspawn-win32.c
* glib/gspawn-win32-helper.c: Implement
G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce Hochstetler)

* tests/spawn-test.c
* tests/spawn-test-win32-gui.c: Test it.
/external/bluetooth/glib/tests/spawn-test-win32-gui.c
1f04f2cce236311e79fef775890a5114123ced37 17-Nov-2002 Tor Lillqvist <tml@iki.fi> Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully

2002-11-17 Tor Lillqvist <tml@iki.fi>

* glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
on Windows, at least not now. Always pass dont_wait as TRUE to
do_spawn_with_pipes(). The semantics of the dont_wait parameter is
very different from the semantics of the intermediate_child
parameter to fork_exec_with_pipes() in the Unix version. This
fixes a serious bug, g_spawn_async() in fact behaved
synchronously.

(do_spawn_with_pipes, do_spawn): Rename from
fork_exec_with_pipes() and do_exec(), those names were from the
Unix bersion, and misleading.

(close_and_invalidate): Don't try to close invalid fds.

* glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
Windows behaviour. There is no fork(), so the child_setup()
function is in fact called in the parent.

* glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
debugging output.

* tests/spawn-test-win32-gui.c: New file. Test program to be
linked as a GUI application. Behaves differently depending on how
invoked (by spawn-test).

* tests/spawn-test.c (run_tests): On Win32, run the
spawn-test-win32-gui program, too, in several ways, synchronously
and asynchronously.

* tests/Makefile.am: Corresponding change.
/external/bluetooth/glib/tests/spawn-test-win32-gui.c