[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11516: Use EXIT_SUCCESS/EXIT_FAILUR
From: |
Markus Gothe |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11516: Use EXIT_SUCCESS/EXIT_FAILURE consistent |
Date: |
Mon, 21 Sep 2009 04:49:55 +0200 |
User-agent: |
Bazaar (1.16.1) |
------------------------------------------------------------
revno: 11516
committer: Markus Gothe <address@hidden>
branch nick: trunk
timestamp: Mon 2009-09-21 04:49:55 +0200
message:
Use EXIT_SUCCESS/EXIT_FAILURE consistent
modified:
gui/aos4_agg_glue.cpp
gui/aos4_cairo_glue.cpp
gui/dump.cpp
gui/sdl.cpp
gui/sdl_agg_glue.cpp
gui/sdl_cairo_glue.cpp
=== modified file 'gui/aos4_agg_glue.cpp'
--- a/gui/aos4_agg_glue.cpp 2009-07-10 15:44:55 +0000
+++ b/gui/aos4_agg_glue.cpp 2009-09-21 02:49:55 +0000
@@ -249,7 +249,7 @@
if (!_window)
{
log_error (_("prepDrawingArea() failed.\n"));
- exit(1);
+ exit(EXIT_FAILURE);
}
_stride = width * depth_bytes;
=== modified file 'gui/aos4_cairo_glue.cpp'
--- a/gui/aos4_cairo_glue.cpp 2009-07-10 15:44:55 +0000
+++ b/gui/aos4_cairo_glue.cpp 2009-09-21 02:49:55 +0000
@@ -257,7 +257,7 @@
if (!_window)
{
log_error (_("prepDrawingArea() failed.\n"));
- exit(1);
+ exit(EXIT_FAILURE);
}
_stride = width * _bpp;
=== modified file 'gui/dump.cpp'
--- a/gui/dump.cpp 2009-07-13 10:43:39 +0000
+++ b/gui/dump.cpp 2009-09-21 02:49:55 +0000
@@ -268,7 +268,7 @@
if (!_fileStream) {
log_error(_("Unable to write file '%s'."), _fileOutput);
std::cerr << "# FATAL: Unable to write file '" << _fileOutput << "'"
<< std::endl;
- exit(1);
+ exit(EXIT_FAILURE);
}
// Yes, this should go to cout. The user needs to know this
=== modified file 'gui/sdl.cpp'
--- a/gui/sdl.cpp 2009-07-13 10:43:39 +0000
+++ b/gui/sdl.cpp 2009-09-21 02:49:55 +0000
@@ -177,7 +177,7 @@
// doesn't. Otherwise the SDL event loop just polls.
if (SDL_Init(SDL_INIT_VIDEO)) {
fprintf(stderr, "Unable to init SDL: %s\n", SDL_GetError());
- exit(1);
+ exit(EXIT_FAILURE);
}
atexit(SDL_Quit);
=== modified file 'gui/sdl_agg_glue.cpp'
--- a/gui/sdl_agg_glue.cpp 2009-07-10 15:44:55 +0000
+++ b/gui/sdl_agg_glue.cpp 2009-09-21 02:49:55 +0000
@@ -92,7 +92,7 @@
if (!_screen) {
log_error (_("SDL_SetVideoMode() failed for SdlAggGlue."));
- exit(1);
+ exit(EXIT_FAILURE);
}
int stride = width * depth_bytes;
=== modified file 'gui/sdl_cairo_glue.cpp'
--- a/gui/sdl_cairo_glue.cpp 2009-08-05 16:19:21 +0000
+++ b/gui/sdl_cairo_glue.cpp 2009-09-21 02:49:55 +0000
@@ -71,7 +71,7 @@
if (!_screen) {
fprintf(stderr, "SDL_SetVideoMode() failed.\n");
- exit(1);
+ exit(EXIT_FAILURE);
}
int stride=width * 4;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11516: Use EXIT_SUCCESS/EXIT_FAILURE consistent,
Markus Gothe <=