Commit a3f0e14d authored by Sam Hocevar's avatar Sam Hocevar

  * ./src/interface/main.c: disabled the GNOME segfault dialog in debug
    mode. We want nice, clean segfaults, with huge core files and a lot
    of rattle noise.
parent 79095d58
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* and spawn threads. * and spawn threads.
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: main.c,v 1.160 2002/03/04 23:56:38 massiot Exp $ * $Id: main.c,v 1.161 2002/03/06 23:54:28 sam Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -317,6 +317,7 @@ int main( int i_argc, char *ppsz_argv[], char *ppsz_env[] ) ...@@ -317,6 +317,7 @@ int main( int i_argc, char *ppsz_argv[], char *ppsz_env[] )
# ifdef DEBUG # ifdef DEBUG
/* Activate malloc checking routines to detect heap corruptions. */ /* Activate malloc checking routines to detect heap corruptions. */
putenv( "MALLOC_CHECK_=2" ); putenv( "MALLOC_CHECK_=2" );
putenv( "GNOME_DISABLE_CRASH_DIALOG=1" );
# endif # endif
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment