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 Mon, 14 May 2001 04:31:56 GMT
wrowe       01/05/13 21:31:56

  Modified:    support/win32 wintty.c
  Log:
    A bit more clarity, and that's it for now.
  
  Revision  Changes    Path
  1.3       +5 -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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- wintty.c	2001/05/14 04:27:18	1.2
  +++ wintty.c	2001/05/14 04:31:56	1.3
  @@ -75,13 +75,13 @@
   "\teven when invoked from within a service (such as the Apache server.)\n"
   "\tAlso reflects the console input back to the stdout stream, allowing\n"
   "\tthe operator to respond to prompts from the context of a service.\n\n"
  -"Syntax: %s [opts]\n\n"
  +"Syntax: %s [opts] [-t \"Window Title\"]\n\n"
   "  opts: -c{haracter}   or -l{ine} input\n"
   "\t-q{uiet}       or -e{cho} input\n"
   "\t-u{nprocessed} or -p{rocessed} input\n"
   "\t-n{owrap}      or -w{rap} output lines\n"
   "\t-f{ormatted}   or -r{aw} output lines\n"
  -"\t-v{erbose} error checking\n"
  +"\t-v{erbose} error reporting (for debugging)\n"
   "\t-? for this message\n\n";
   
   HANDLE herrout;
  @@ -228,6 +228,9 @@
               printerr("SetProcWinSta(WinSta0) failed (%d)\n", GetLastError());
           }
   	hsavedesk = GetThreadDesktop(GetCurrentThreadId());
  +        if (!hsavedesk || hsavedesk == INVALID_HANDLE_VALUE) {
  +            printerr("GetThreadDesktop(GetTID()) failed (%d)\n", GetLastError());
  +        }
           hdesk = OpenDesktop("Default", 0, TRUE, 
                               DESKTOP_READOBJECTS     
                             | DESKTOP_CREATEWINDOW    
  
  
  

Mime
View raw message