mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix build without line editors (re: bb4f23e6
)
This commit is contained in:
parent
523b7c7017
commit
89d5b8cde1
1 changed files with 2 additions and 0 deletions
|
@ -853,6 +853,7 @@ int ed_read(void *context, int fd, char *buff, int size, int reedit)
|
|||
{
|
||||
if(sh.trapnote&(SH_SIGSET|SH_SIGTRAP))
|
||||
goto done;
|
||||
#if SHOPT_ESH || SHOPT_VSH
|
||||
/*
|
||||
* If sh.winch is set, the number of window columns changed and/or there is a buffered
|
||||
* job notification. When using a line editor, erase and redraw the command line.
|
||||
|
@ -898,6 +899,7 @@ int ed_read(void *context, int fd, char *buff, int size, int reedit)
|
|||
emacs_redraw(ep->e_emacs);
|
||||
#endif /* SHOPT_ESH && SHOPT_VSH */
|
||||
}
|
||||
#endif /* SHOPT_ESH || SHOPT_VSH */
|
||||
sh.winch = 0;
|
||||
/* an interrupt that should be ignored */
|
||||
errno = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue