Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
A few remarks about Etc/BUGS
- X-seq: zsh-workers 48860
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: A few remarks about Etc/BUGS
- Date: Sun, 16 May 2021 21:06:58 -0700
- Archived-at: <https://zsh.org/workers/48860>
- List-id: <zsh-workers.zsh.org>
The recent thread about infinite loops when exiting has not addressed
workers/44007.
The workers/45656 segfault is in BUGS twice, but was fixed by workers/45660.
45396 for lseek() has been applied.
users/24904 appears to have been fixed by workers/44480, I can't reproduce.
45568 was fixed by 45616.
(Patch to remove the above four, attached.)
users/26150 (MULTIOS does not work with "exec") can be fixed by
tweaking "nowait" and "pline_level" in the "If nullexec is 1 we ..."
code at line 3894 in exec.c ... but they should only change if a
multio was in fact spawned. How is that detect-able?
The foregoing is actually closely related to 42609, in both cases the
shell ends up waiting for exit of a job that is in turn waiting for
the shell. Both probably are side-effects of a long-ago change to
create job table entries for process substitutions. So maybe there's
a better fix that involves job table flags.
diff --git a/Etc/BUGS b/Etc/BUGS
index a8c7c13c2..f1f8e44f8 100644
--- a/Etc/BUGS
+++ b/Etc/BUGS
@@ -33,40 +33,19 @@ skipped when STTY=... is set for that command
44007 - Martijn - exit in trap executes rest of function
See test case in Test/C03traps.ztst.
------------------------------------------------------------------------
-45656: 'zsh -o nobanghist -o emacs' segfaults
-analysis in workers/45657
-------------------------------------------------------------------------
44133 debian #924736 (partial patch in 44134) three setopts following ` #`
------------------------------------------------------------------------
44850 terminal issues with continuation markers
------------------------------------------------------------------------
45422 _arguments !-x !+x
------------------------------------------------------------------------
-45568 repeat-count "illegal character"
-------------------------------------------------------------------------
-45656 -o nobanghist -o emacs segfaults
-------------------------------------------------------------------------
users/24765 -direct terminals. Not a bug as such but we may need to do
something if -direct values in TERM are ever common
------------------------------------------------------------------------
44850: zle -M doesn't work properly if the command line fills the screen
------------------------------------------------------------------------
-45393/45396 [PATCH] avoid lseek(2) calls.
-45768 is similar.
-------------------------------------------------------------------------
44525, 45778 [PATCH] prompt redrawn on the wrong line upon SIGWINCH
------------------------------------------------------------------------
-users/24904: 'func <(...) | wc -l' results in ENOENT on /proc/self/fd/13
-
-% efe() cat $1
-% efe <(seq 1 10) | wc -l
-cat: /proc/self/fd/13: No such file or directory
-0
-
-This occurs because pipelines fork to the left, and named functions
-become their own job, which means descriptors numbered >= 10 are closed,
-including those opened by process substitution.
-------------------------------------------------------------------------
45400: vared does not work in subshells, even when the parent shell is
interactive and the subshell is the foreground job. The USEZLE option is
always turned off in subshells, for reasons lost to history. There is a
Messages sorted by:
Reverse Date,
Date,
Thread,
Author