mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
203b1286fd
stop eval recursive loops git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3857 dbcabf3a-b0e7-0310-adc4-f8d773084564
36 lines
1.2 KiB
Plaintext
Executable File
36 lines
1.2 KiB
Plaintext
Executable File
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
## 03sigtstp.dpatch by David Pashley <david@davidpashley.com>
|
|
##
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
## DP: No description.
|
|
|
|
@DPATCH@
|
|
diff -urNad --exclude=CVS --exclude=.svn ./src/fe-text/term-curses.c /tmp/dpep-work.uTVMh2/irssi-0.8.10~rc5/src/fe-text/term-curses.c
|
|
--- ./src/fe-text/term-curses.c 2002-02-17 17:42:07.000000000 +0200
|
|
+++ /tmp/dpep-work.uTVMh2/irssi-0.8.10~rc5/src/fe-text/term-curses.c 2005-07-15 22:26:23.000000000 +0300
|
|
@@ -362,7 +362,7 @@
|
|
void term_stop(void)
|
|
{
|
|
term_deinit_int();
|
|
- kill(getpid(), SIGSTOP);
|
|
+ kill(getpid(), SIGTSTP);
|
|
term_init_int();
|
|
irssi_redraw();
|
|
}
|
|
diff -urNad --exclude=CVS --exclude=.svn ./src/fe-text/term-terminfo.c /tmp/dpep-work.uTVMh2/irssi-0.8.10~rc5/src/fe-text/term-terminfo.c
|
|
--- ./src/fe-text/term-terminfo.c 2004-05-14 15:24:23.000000000 +0300
|
|
+++ /tmp/dpep-work.uTVMh2/irssi-0.8.10~rc5/src/fe-text/term-terminfo.c 2005-07-15 22:26:23.000000000 +0300
|
|
@@ -543,10 +543,10 @@
|
|
void term_stop(void)
|
|
{
|
|
if (term_detached) {
|
|
- kill(getpid(), SIGSTOP);
|
|
+ kill(getpid(), SIGTSTP);
|
|
} else {
|
|
terminfo_stop(current_term);
|
|
- kill(getpid(), SIGSTOP);
|
|
+ kill(getpid(), SIGTSTP);
|
|
terminfo_cont(current_term);
|
|
irssi_redraw();
|
|
}
|