Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37882123
en ru br
ALT Linux repos
S:2.9.1-alt1_2

Group :: System/Libraries
RPM: libQGLViewer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libQGLViewer-2.9.1-exit.patch
Download


diff -up libQGLViewer-2.9.1/QGLViewer/VRender/gpc.cpp.exit libQGLViewer-2.9.1/QGLViewer/VRender/gpc.cpp
--- libQGLViewer-2.9.1/QGLViewer/VRender/gpc.cpp.exit	2023-01-26 10:26:55.315899363 +0000
+++ libQGLViewer-2.9.1/QGLViewer/VRender/gpc.cpp	2023-01-26 10:27:39.642119598 +0000
@@ -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= nullptr;}
+							abort();}} else p= nullptr;}
 
 #define FREE(p)            {if (p) {free(p); (p)= nullptr;}}
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin