Группа :: Система/Библиотеки
Пакет: libQGLViewer
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libQGLViewer-2.6.3-exit.patch
Скачать
Скачать
diff -up libQGLViewer-2.6.3/QGLViewer/VRender/gpc.cpp.exit libQGLViewer-2.6.3/QGLViewer/VRender/gpc.cpp
--- libQGLViewer-2.6.3/QGLViewer/VRender/gpc.cpp.exit 2016-02-05 09:55:31.614399048 +0100
+++ libQGLViewer-2.6.3/QGLViewer/VRender/gpc.cpp 2016-02-05 09:56:38.519685573 +0100
@@ -150,7 +150,7 @@ using namespace std ;
#define MALLOC(p, b, s, t) {if ((b) > 0) { \
p= (t*)malloc(b); if (!(p)) { \
fprintf(stderr, "gpc malloc failure: %s\n", s); \
- exit(0);}} else p= NULL;}
+ abort();}} else p= NULL;}
#define FREE(p) {if (p) {free(p); (p)= NULL;}}