[ros-bugs] [Bug 6167] New: wine kludge in InternetCheckConnectionW

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Fri Apr 29 03:28:21 UTC 2011


http://www.reactos.org/bugzilla/show_bug.cgi?id=6167

           Summary: wine kludge in InternetCheckConnectionW
           Product: ReactOS
           Version: TRUNK
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Win32
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: samdwise51 at gmail.com
         QAContact: ros-bugs at reactos.org


Created an attachment (id=6263)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=6263)
a better solution would be to fix it and send them a patch...

BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD
dwReserved )
{
...
  static const CHAR ping[] = "ping -c 1 ";
  static const CHAR redirect[] = " >/dev/null 2>/dev/null";
  CHAR *command = NULL;
  int status = -1;
...
      /*
       * Build our ping command
       */
...
      TRACE("Ping command is : %s\n",command);

      status = system(command);

      TRACE("Ping returned a code of %i\n",status);
...

}


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list