mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
*** empty log message ***
This commit is contained in:
parent
e0dc80e0e5
commit
468e3b59dc
@ -1,5 +1,8 @@
|
||||
2000-11-08 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* ?????: Src/Modules/zpty.c: use possible read character from
|
||||
read_poll() in loop in ptyread()
|
||||
|
||||
* 13128: Completion/Builtins/_zstyle, Completion/Core/_match,
|
||||
Completion/Core/_path_files, Doc/Zsh/compsys.yo: aloow value
|
||||
`pattern' for insert-unambiguous style to preserve patterns in the
|
||||
|
@ -483,7 +483,12 @@ ptyread(char *nam, Ptycmd cmd, char **args)
|
||||
if (cmd->fin)
|
||||
break;
|
||||
}
|
||||
if ((ret = read(cmd->fd, buf + used, 1)) == 1) {
|
||||
if (cmd->read != -1 || (ret = read(cmd->fd, buf + used, 1)) == 1) {
|
||||
if (cmd->read != -1) {
|
||||
ret = 1;
|
||||
buf[used] = (char) cmd->read;
|
||||
cmd->read = -1;
|
||||
}
|
||||
seen = 1;
|
||||
if (++used == blen) {
|
||||
if (!*args) {
|
||||
|
Loading…
Reference in New Issue
Block a user