# HG changeset patch # User Richard M. Stallman # Date 846345663 0 # Node ID c1f19d8e5b80de8c196d1ce399e28042166427a9 # Parent c6a338fd193857c60d186465bdcefb72f2bae6fb (status_notify): Update p->tick again just before running the sentinel, in case it dies. diff -r c6a338fd1938 -r c1f19d8e5b80 src/process.c --- a/src/process.c Sat Oct 26 16:00:39 1996 +0000 +++ b/src/process.c Sat Oct 26 16:01:03 1996 +0000 @@ -3614,6 +3614,11 @@ deactivate_process (proc); } + /* The actions above may have further incremented p->tick. + So set p->update_tick again + so that an error in the sentinel will not cause + this code to be run again. */ + XSETINT (p->update_tick, XINT (p->tick)); /* Now output the message suitably. */ if (!NILP (p->sentinel)) exec_sentinel (proc, msg);