httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/support/win32 wintty.c
Date Thu, 16 May 2002 19:12:03 GMT
wrowe       02/05/16 12:12:02

  Modified:    support/win32 wintty.c
  Log:
    An absolutely unnecessary hack around MSVC emits that the symbol may
    not have been initialized.  [Of course it was initialized, the same
    code protects both it's initialization and reset.]
  
  Revision  Changes    Path
  1.9       +2 -2      httpd-2.0/support/win32/wintty.c
  
  Index: wintty.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/win32/wintty.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- wintty.c	13 Mar 2002 20:48:07 -0000	1.8
  +++ wintty.c	16 May 2002 19:12:02 -0000	1.9
  @@ -110,8 +110,8 @@
   {
       char str[1024], *contitle;
       HANDLE hproc, thread;
  -    HANDLE hwinsta, hsavewinsta;
  -    HANDLE hdesk, hsavedesk;
  +    HANDLE hwinsta = NULL, hsavewinsta;
  +    HANDLE hdesk = NULL, hsavedesk = NULL;
       HANDLE conin, conout;
       HANDLE hstdin, hstdout, hstderr, hdup;
       feedback_args_t feed;
  
  
  

Mime
View raw message