[BACK]Return to file.c CVS log [TXT][DIR] Up to [wine] / wine / dlls / msvcrt

Diff for /wine/dlls/msvcrt/file.c between version 1.59 and 1.60

version 1.59, 2003/10/24 04:21:09 version 1.60, 2003/10/31 04:17:45
Line 204  void msvcrt_init_io(void)
Line 204  void msvcrt_init_io(void)
 {  {
   int i;    int i;
   memset(MSVCRT__iob,0,3*sizeof(MSVCRT_FILE));    memset(MSVCRT__iob,0,3*sizeof(MSVCRT_FILE));
   MSVCRT_handles[0] = GetStdHandle(STD_INPUT_HANDLE);    DuplicateHandle(GetCurrentProcess(), GetStdHandle(STD_INPUT_HANDLE),
       GetCurrentProcess(), &MSVCRT_handles[0], 0, FALSE, DUPLICATE_SAME_ACCESS);
   MSVCRT_flags[0] = MSVCRT__iob[0]._flag = MSVCRT__IOREAD;    MSVCRT_flags[0] = MSVCRT__iob[0]._flag = MSVCRT__IOREAD;
   MSVCRT_handles[1] = GetStdHandle(STD_OUTPUT_HANDLE);    DuplicateHandle(GetCurrentProcess(), GetStdHandle(STD_OUTPUT_HANDLE),
       GetCurrentProcess(), &MSVCRT_handles[1], 0, FALSE, DUPLICATE_SAME_ACCESS);
   MSVCRT_flags[1] = MSVCRT__iob[1]._flag = MSVCRT__IOWRT;    MSVCRT_flags[1] = MSVCRT__iob[1]._flag = MSVCRT__IOWRT;
   MSVCRT_handles[2] = GetStdHandle(STD_ERROR_HANDLE);    DuplicateHandle(GetCurrentProcess(), GetStdHandle(STD_ERROR_HANDLE),
       GetCurrentProcess(), &MSVCRT_handles[2], 0, FALSE, DUPLICATE_SAME_ACCESS);
   MSVCRT_flags[2] = MSVCRT__iob[2]._flag = MSVCRT__IOWRT;    MSVCRT_flags[2] = MSVCRT__iob[2]._flag = MSVCRT__IOWRT;
   
   TRACE(":handles (%p)(%p)(%p)\n",MSVCRT_handles[0],    TRACE(":handles (%p)(%p)(%p)\n",MSVCRT_handles[0],

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

Report problems to: web-admin@winehq.com