[gitg] Do not duplicate the fds
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Do not duplicate the fds
- Date: Sat, 4 Feb 2017 22:54:58 +0000 (UTC)
commit 30938ff51407fb82d7f20f6310694df634a3c25e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Sep 27 10:34:04 2016 +0200
Do not duplicate the fds
libgitg/gitg-platform-support-win32.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/gitg-platform-support-win32.c b/libgitg/gitg-platform-support-win32.c
index debb9fc..6fc80b7 100644
--- a/libgitg/gitg-platform-support-win32.c
+++ b/libgitg/gitg-platform-support-win32.c
@@ -138,9 +138,7 @@ gitg_platform_support_application_support_prepare_startup (void)
if (p_AttachConsole != NULL && p_AttachConsole (ATTACH_PARENT_PROCESS))
{
freopen ("CONOUT$", "w", stdout);
- dup2 (fileno (stdout), 1);
freopen ("CONOUT$", "w", stderr);
- dup2 (fileno (stderr), 2);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]