diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-06-07 21:07:27 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-06-07 22:28:14 +0000 |
| commit | 3583a480aabbef40602483b1a651f724509135c7 (patch) | |
| tree | 22c3f69bb3c57f73617fc0adbc5381bcf66a2585 /src/inkscape.cpp | |
| parent | Remove _argv0 from Inkscape::Application (diff) | |
| download | inkscape-3583a480aabbef40602483b1a651f724509135c7.tar.gz inkscape-3583a480aabbef40602483b1a651f724509135c7.zip | |
Flush crash message to ensure it's actually printed and update link
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 984bccf6d..6924fdd0e 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -744,7 +744,7 @@ Application::crash_handler (int /*signum*/) Inkscape::Preferences::unload(false); fprintf (stderr, "Emergency save completed. Inkscape will close now.\n"); - fprintf (stderr, "If you can reproduce this crash, please file a bug at www.inkscape.org\n"); + fprintf (stderr, "If you can reproduce this crash, please file a bug at https://inkscape.org/report\n"); fprintf (stderr, "with a detailed description of the steps leading to the crash, so we can fix it.\n"); /* Show nice dialog box */ @@ -810,6 +810,8 @@ Application::crash_handler (int /*signum*/) tracker.clear(); Logger::shutdown(); + fflush(stderr); // make sure buffers are empty before crashing (otherwise output might be suppressed) + /* on exit, allow restored signal handler to take over and crash us */ } |
