mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-19 22:30:06 +01:00
improve segfault error message, suggested by matthijs :)
git-svn-id: svn://code.dyne.org/veejay/trunk@1388 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -311,8 +311,9 @@ static int veejay_process_status( veejay_preview_t *vp, veejay_track_t *v )
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if( status_len[0] != 'V' ) {
|
if( status_len[0] != 'V' ) {
|
||||||
veejay_msg(0, "Error parsing status message.");
|
|
||||||
n = -1;
|
n = -1;
|
||||||
|
k = -1;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( n == -1 && v->is_master )
|
if( n == -1 && v->is_master )
|
||||||
|
|||||||
@@ -6625,7 +6625,10 @@ static void reloaded_sighandler(int x)
|
|||||||
veejay_msg(VEEJAY_MSG_WARNING, "Stopping reloaded");
|
veejay_msg(VEEJAY_MSG_WARNING, "Stopping reloaded");
|
||||||
exit(0);
|
exit(0);
|
||||||
} else if ( x == SIGSEGV ) {
|
} else if ( x == SIGSEGV ) {
|
||||||
veejay_msg(VEEJAY_MSG_ERROR, "Bugs compromised the system.");
|
veejay_msg(VEEJAY_MSG_ERROR, "Found Gremlins in your system.");
|
||||||
|
veejay_msg(VEEJAY_MSG_WARNING, "No fresh ale found in the fridge.");
|
||||||
|
veejay_msg(VEEJAY_MSG_INFO, "Running with sub-atomic precision...");
|
||||||
|
veejay_msg(VEEJAY_MSG_ERROR, "Bugs compromised the system.");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user