mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-28 10:56:08 +02:00
50149: Remove all remaining =(...) files at shell exit
This commit is contained in:
parent
8181708feb
commit
e127ceaae8
2
Etc/BUGS
2
Etc/BUGS
|
@ -48,8 +48,6 @@ related, probably obsolete, vared special case for $TERM set to "emacs".
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
47561: [PATCH v4] vcs_info: choose backend by basedir
|
47561: [PATCH v4] vcs_info: choose backend by basedir
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
39319: () { exit } =(:) doesn't clean up the tempfile
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
48091: Bug in compdescribe with matcher 'b:-=+'
|
48091: Bug in compdescribe with matcher 'b:-=+'
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
users/26071: Strange behavior about option completion of `git push #`
|
users/26071: Strange behavior about option completion of `git push #`
|
||||||
|
|
|
@ -5860,6 +5860,7 @@ zexit(int val, enum zexit_t from_where)
|
||||||
/* send SIGHUP to any jobs left running */
|
/* send SIGHUP to any jobs left running */
|
||||||
killrunjobs(from_where == ZEXIT_SIGNAL);
|
killrunjobs(from_where == ZEXIT_SIGNAL);
|
||||||
}
|
}
|
||||||
|
cleanfilelists();
|
||||||
if (isset(RCS) && interact) {
|
if (isset(RCS) && interact) {
|
||||||
if (!nohistsave) {
|
if (!nohistsave) {
|
||||||
int writeflags = HFILE_USE_OPTIONS;
|
int writeflags = HFILE_USE_OPTIONS;
|
||||||
|
|
12
Src/jobs.c
12
Src/jobs.c
|
@ -1366,6 +1366,18 @@ deletefilelist(LinkList file_list, int disowning)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**/
|
||||||
|
void
|
||||||
|
cleanfilelists(void)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
DPUTS(shell_exiting >= 0, "BUG: cleanfilelists() before exit");
|
||||||
|
|
||||||
|
for (i = 1; i <= maxjob; i++)
|
||||||
|
deletefilelist(jobtab[i].filelist, 0);
|
||||||
|
}
|
||||||
|
|
||||||
/**/
|
/**/
|
||||||
void
|
void
|
||||||
freejob(Job jn, int deleting)
|
freejob(Job jn, int deleting)
|
||||||
|
|
Loading…
Reference in New Issue