[ekiga] [windows] Do not create the unuseful stdout file for debug
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] [windows] Do not create the unuseful stdout file for debug
- Date: Mon, 10 May 2010 20:21:01 +0000 (UTC)
commit 28699e68c763a201c1c3994b9a8f8421cc8ba0c9
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Mon May 10 22:19:34 2010 +0200
[windows] Do not create the unuseful stdout file for debug
src/gui/main_window.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 3b2f8cd..10f17cf 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -4449,10 +4449,8 @@ main (int argc,
g_free (text_label);
if (debug_level != 0) {
std::string desk_path = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP);
- if (!desk_path.empty ()) {
- std::freopen((desk_path + "\\ekiga-stdout.txt").c_str (), "w", stdout);
+ if (!desk_path.empty ())
std::freopen((desk_path + "\\ekiga-stderr.txt").c_str (), "w", stderr);
- }
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]