| Commit message (Collapse) | Author | Age |
|
|
|
| |
It's a relic of the old parser, and isn't used anymore.
|
| |
|
| |
|
|
|
|
| |
parser
|
|
|
|
| |
implementation.
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
complete.cpp
|
| | |
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
configure.ac
exec.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
redirections for a process were flattened into a big list associated with the job, so there was no way to tell which redirections applied to each process. Each process therefore got all the redirections associated with the job. See https://github.com/fish-shell/fish-shell/issues/877 for how this could manifest.
With this change, jobs only track their block-level redirections. Process level redirections are correctly associated with the process, and at exec time we stitch them together (block, pipe, and process redirects).
This fixes the weird issues where redirects bleed across pipelines (like #877), and also allows us to play with the order in which redirections are applied, since the final list is constructed right before it's needed. This lets us put pipes after block level redirections but before process level redirections, so that a 2>&1-type redirection gets picked up after the pipe, i.e. it should fix https://github.com/fish-shell/fish-shell/issues/110
This is a significant change. The tests all pass. Cross your fingers.
|
| |
| |
| |
| | |
https://github.com/fish-shell/fish-shell/issues/110
|
|/ |
|
|
|
|
| |
Fixes https://github.com/fish-shell/fish-shell/issues/876 , and coincidentally also https://github.com/fish-shell/fish-shell/issues/848
|
| |
|
|
|
|
| |
file descriptors
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
because the error handling is too difficult
Fix exec to correctly handle the case where a pid could not be created due to posix_spawn failing
Should fix https://github.com/fish-shell/fish-shell/issues/364
|
| |
|
|
|
|
|
| |
Rewrite IO chains to be a vector of pointers, instead of a linked list
Removed io_transmogrify
|
| |
|
|
|
|
| |
Cleanup of non-wcstring version of path_get_path
|
|
|
|
|
| |
Fixes issue where you couldn't control-C out of a loop (https://github.com/ridiculousfish/fishfish/issues/13)
Also stops doing memory allocation in the signal handler (oops) https://github.com/ridiculousfish/fishfish/issues/27
|
|
|
|
| |
Ensure we don't try to do a universal barrier off of the main thread
|
|
|
|
| |
fork()
|
| |
|
| |
|
|
|
|
| |
null_terminated_array_t class.
|
|
|
|
| |
a per-parser job list
|
| |
|
|
|
|
| |
could never succeed.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not
introduce any functionality change.
|
|
|
|
| |
darcs-hash:20090221164656-ac50b-7bcbf6cb0bb8384560fbf9bf1059480cb4089def.gz
|
|
|
|
| |
darcs-hash:20080109012338-75c98-745297861fd11ec82e062a79fe1d15c9084342f1.gz
|
|
|
|
|
|
| |
error as well as make sure that keyboard shortcuts don't change the status
darcs-hash:20080108193145-75c98-56c8aa2dd081af643d206820aa36bf3b6e49e0f2.gz
|
|
|
|
|
|
| |
function used at least two forks, which was noticable on systems such as OS X with slow forks
darcs-hash:20070731212332-ac50b-8f5b2e70008ddb131dc8bae3f361d8d65a294948.gz
|
|
|
|
|
|
| |
still only possible to buffer input on a single descriptor to any given job.
darcs-hash:20070107141052-ac50b-561265cd5acde7d882e4506870f13d61d34b3734.gz
|
|
|
|
| |
darcs-hash:20061213143431-ac50b-5c5cec623ecca9f52c7d44cfcb26f07fe2fcda39.gz
|
|
|
|
| |
darcs-hash:20061120131224-ac50b-974496cc800377e4e06475491f89998b9640fbba.gz
|
|
|
|
|
|
| |
every flag
darcs-hash:20061025204759-ac50b-ea07caa30782a1ea02d2cd8aa7cbc94474047a10.gz
|