summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-12-12 18:09:35 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-12-12 18:09:35 +0000
commitb467360e80cfc95273e0bf4f5056064bcec4f54b (patch)
tree33e83c49b40405cf6c008dbfdefd9627e71b151d /legacy
parentdd8fe515a3525b18eae8d4a6e7a2e0c8f9499e37 (diff)
change the size of the buffer
SVN revision: 55519
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_exe_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_exe_win32.c b/legacy/ecore/src/lib/ecore/ecore_exe_win32.c
index 30d7d3c25b..7f4435a80c 100644
--- a/legacy/ecore/src/lib/ecore/ecore_exe_win32.c
+++ b/legacy/ecore/src/lib/ecore/ecore_exe_win32.c
@@ -621,7 +621,7 @@ ecore_exe_hup(Ecore_Exe *exe)
621static int 621static int
622_ecore_exe_win32_pipe_thread_generic_cb(void *data, Ecore_Exe_Flags flags) 622_ecore_exe_win32_pipe_thread_generic_cb(void *data, Ecore_Exe_Flags flags)
623{ 623{
624#define BUFSIZE 2 624#define BUFSIZE 2048
625 char buf[BUFSIZE]; 625 char buf[BUFSIZE];
626 Ecore_Exe *exe; 626 Ecore_Exe *exe;
627 char *current_buf = NULL; 627 char *current_buf = NULL;
@@ -653,7 +653,7 @@ _ecore_exe_win32_pipe_thread_generic_cb(void *data, Ecore_Exe_Flags flags)
653 653
654 while (1) 654 while (1)
655 { 655 {
656 if (!PeekNamedPipe(child_pipe, buf, 1, &size, &current_size, NULL)) 656 if (!PeekNamedPipe(child_pipe, buf, sizeof(buf), &size, &current_size, NULL))
657 continue; 657 continue;
658 if (size == 0) 658 if (size == 0)
659 continue; 659 continue;