Author: jan
Date: 2007-08-16 14:17:42 +0200 (Thu, 16 Aug 2007)
New Revision: 367

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/src/gui/slad_install.c
Log:
* src/gui/slad_install.c (slad_install): disable
sladinstaller test for CYGWIN as it does not work there.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog      2007-08-16 10:06:00 UTC (rev 366)
+++ trunk/openvas-client/ChangeLog      2007-08-16 12:17:42 UTC (rev 367)
@@ -1,5 +1,10 @@
-2007-08-02  Jan-Oliver Wagner <[EMAIL PROTECTED]>
+2007-08-16  Jan-Oliver Wagner <[EMAIL PROTECTED]>
 
+       * src/gui/slad_install.c (slad_install): disable
+       sladinstaller test for CYGWIN as it does not work there.
+
+2007-08-10  Jan-Oliver Wagner <[EMAIL PROTECTED]>
+
        * po/sv.po: Updated swedish translation by Daniel Nylander.
 
 2007-08-02  Jan-Oliver Wagner <[EMAIL PROTECTED]>

Modified: trunk/openvas-client/src/gui/slad_install.c
===================================================================
--- trunk/openvas-client/src/gui/slad_install.c 2007-08-16 10:06:00 UTC (rev 
366)
+++ trunk/openvas-client/src/gui/slad_install.c 2007-08-16 12:17:42 UTC (rev 
367)
@@ -66,11 +66,19 @@
   fgets(buf, sizeof(buf), f);
   pclose(f);
 
+#ifndef CYGWIN
+  /* compiled with flag -mwindows, sladinstaller
+   * does not answer on stdout.
+   * Therefore, this test is only performed on
+   * non-CYGWIN systems and simply dropped for
+   * CYGWIN.
+   */
   if(strcmp(buf, "pong\n"))
     {
       ERROR(_("Could not execute SLAD installer."));
       return;
     }
+#endif
 
   // start sladinstall
   p=fork();

_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits

Reply via email to