[ekiga/gnome-2-26] [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/gnome-2-26] [windows] Do not create the unuseful stdout file for debug
- Date: Mon, 10 May 2010 20:20:32 +0000 (UTC)
commit 9984a473a2451675dd1584702c317628e4fef682
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.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 944a17c..6654774 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -4481,10 +4481,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]