1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-17 09:19:15 -04:00
ports/sysutils/scanmem/files/patch-interrupt.h
Alexey Dokuchaev 8ed699c6a1 Add quick and dirty port of scanmem, a simple interactive debugging utility
for Linux, used to locate the address of a variable in an executing process.

WWW: http://code.google.com/p/scanmem/
2014-08-28 10:40:16 +00:00

11 lines
435 B
C

--- interrupt.h.orig 2009-12-14 15:15:26 UTC
+++ interrupt.h
@@ -10,7 +10,7 @@
/* small header file to manage interrupted commands */
static sigjmp_buf jmpbuf; /* used when aborting a command due to interrupt */
-static sighandler_t oldsig; /* reinstalled before longjmp */
+static sig_t oldsig; /* reinstalled before longjmp */
static unsigned intused;
/* signal handler to handle interrupt during a commands */