new `jobid' loadable builtin like ash-based shells; fix for nofork command substitution when followed by an asynchronous subshell using GNU nohup; fix for nofork command substitution to move the file descriptor moved to the anonymous file out of the user-accessible range

This commit is contained in:
Chet Ramey
2026-01-23 16:39:00 -05:00
parent c4b56ed9ac
commit b805bbec80
9 changed files with 305 additions and 2 deletions
+4
View File
@@ -85,6 +85,7 @@ extern int tt_setnoecho (TTYSTRUCT *);
extern int tt_seteightbit (TTYSTRUCT *);
extern int tt_setnocanon (TTYSTRUCT *);
extern int tt_setcbreak (TTYSTRUCT *);
extern int tt_seteol (TTYSTRUCT *, int);
/* These functions are all generally mutually exclusive. If you call
more than one (bracketed with calls to ttsave and ttrestore, of
@@ -101,6 +102,8 @@ extern int ttfd_nocanon (int, TTYSTRUCT *);
extern int ttfd_cbreak (int, TTYSTRUCT *);
extern int ttfd_seteol (int, TTYSTRUCT *, int);
/* These functions work with fd 0 and the TTYSTRUCT saved with ttsave () */
extern int ttonechar (void);
extern int ttnoecho (void);
@@ -108,5 +111,6 @@ extern int tteightbit (void);
extern int ttnocanon (void);
extern int ttcbreak (void);
extern int ttseteol (int);
#endif