1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

45058: internal: Add symbolic names to possible values of zexit()'s "from_where" parameter. No functional change.

This commit is contained in:
Daniel Shahaf 2019-12-17 04:43:48 +00:00
parent 2cb15a23f8
commit 8bc4400762
9 changed files with 40 additions and 25 deletions

View file

@ -426,7 +426,7 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock)
execode(prog, 1, 0, "zpty");
stopmsg = 2;
mypid = 0; /* trick to ensure we _exit() */
zexit(lastval, 0);
zexit(lastval, ZEXIT_NORMAL);
}
master = movefd(master);
if (master == -1) {