diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 17:09:30 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 17:09:30 (GMT) |
commit | d1b88bf5454e9c89b01ad2e1dba7a2516a3dcd0c (patch) | |
tree | e6fdb6985952e104004323a8b1172733b8f33abf /unix/tclUnixPipe.c | |
parent | 39266f69e95350ea8f1d828bb3997181924a4216 (diff) | |
download | tcl-d1b88bf5454e9c89b01ad2e1dba7a2516a3dcd0c.zip tcl-d1b88bf5454e9c89b01ad2e1dba7a2516a3dcd0c.tar.gz tcl-d1b88bf5454e9c89b01ad2e1dba7a2516a3dcd0c.tar.bz2 |
more spacing/formatting tweaks
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r-- | unix/tclUnixPipe.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index 64dd8baf..939ec85 100644 --- a/unix/tclUnixPipe.c +++ b/unix/tclUnixPipe.c @@ -524,12 +524,11 @@ TclpCreateProcess( sigdelset(&sigs, SIGKILL); sigdelset(&sigs, SIGSTOP); - posix_spawnattr_setflags(&attr, - POSIX_SPAWN_SETSIGDEF + posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETSIGDEF #ifdef POSIX_SPAWN_USEVFORK - | POSIX_SPAWN_USEVFORK + | POSIX_SPAWN_USEVFORK #endif - ); + ); posix_spawnattr_setsigdefault(&attr, &sigs); posix_spawn_file_actions_adddup2(&actions, GetFd(inputFile), 0); @@ -537,7 +536,7 @@ TclpCreateProcess( posix_spawn_file_actions_adddup2(&actions, GetFd(errorFile), 2); status = posix_spawnp(&pid, newArgv[0], &actions, &attr, - newArgv, environ); + newArgv, environ); childErrno = errno; posix_spawn_file_actions_destroy(&actions); posix_spawnattr_destroy(&attr); |