mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
For details, see: https://www.smartmontools.org/browser/tags/RELEASE_6_5/smartmontools/NEWS Best, Matthias Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 lines
518 B
Diff
17 lines
518 B
Diff
--- a/utility.h Sun Apr 24 16:59:15 2016
|
|
+++ b/utility.h Sat Aug 20 22:40:33 2016
|
|
@@ -97,7 +97,11 @@
|
|
|
|
// Replacement for exit(status)
|
|
// (exit is not compatible with C++ destructors)
|
|
-#define EXIT(status) { throw (int)(status); }
|
|
+
|
|
+//This doesn't work on IPFire.
|
|
+//#define EXIT(status) { throw (int)(status); }
|
|
+//tried to use exit and found no problems yet
|
|
+#define EXIT(status) { exit ((int)(status)); }
|
|
|
|
// Compile time check of byte ordering
|
|
// (inline const function allows compiler to remove dead code)
|
|
|