diff --git a/pigpio.c b/pigpio.c
index 5e04e0a..5b11476 100644
--- a/pigpio.c
+++ b/pigpio.c
@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to
*/
-/* pigpio version 7602 */
+/* pigpio version 76 */
/* include ------------------------------------------------------- */
@@ -5621,7 +5621,7 @@ static void sigHandler(int signum)
default:
DBG(DBG_ALWAYS, "Unhandled signal %d, terminating\n", signum);
gpioTerminate();
- _exit();
+ exit(-1);
}
}
}
@@ -5631,7 +5631,7 @@ static void sigHandler(int signum)
DBG(DBG_ALWAYS, "Unhandled signal %d, terminating\n", signum);
gpioTerminate();
- _exit();
+ exit(-1);
}
}
diff --git a/pigpio.h b/pigpio.h
index 56a5f11..7aa6f78 100644
--- a/pigpio.h
+++ b/pigpio.h
@@ -30,7 +30,7 @@ For more information, please refer to
#include
#include
-#define PIGPIO_VERSION 7602
+#define PIGPIO_VERSION 7601
/*TEXT