[Openvas-commits] r172 - in trunk/openvas-server: . doc include

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 19 11:12:16 CEST 2007


Author: lmwangi
Date: 2007-04-19 11:12:16 +0200 (Thu, 19 Apr 2007)
New Revision: 172

Modified:
   trunk/openvas-server/doc/unbsp.c
   trunk/openvas-server/include/includes.h
   trunk/openvas-server/ltmain.sh
Log:
Win32 cleanup in openvas-server

Modified: trunk/openvas-server/doc/unbsp.c
===================================================================
--- trunk/openvas-server/doc/unbsp.c	2007-04-11 23:48:53 UTC (rev 171)
+++ trunk/openvas-server/doc/unbsp.c	2007-04-19 09:12:16 UTC (rev 172)
@@ -40,11 +40,7 @@
 set_pname
   (char *s)
 {
-  if ((pname = (char*)strrchr (s, '/')) == 0 
-#     ifdef _WIN32
-      && (pname = (char*)strrchr (s, '\\')) == 0 
-#     endif
-      )
+  if ((pname = (char*)strrchr (s, '/')) == 0)
     pname = s ;
   else
     ++ pname ;

Modified: trunk/openvas-server/include/includes.h
===================================================================
--- trunk/openvas-server/include/includes.h	2007-04-11 23:48:53 UTC (rev 171)
+++ trunk/openvas-server/include/includes.h	2007-04-19 09:12:16 UTC (rev 172)
@@ -34,16 +34,9 @@
  * OpenVAS system includes 
  */
 
-#ifdef _CYGWIN_
-#undef _WIN32
-#endif
 
 
-#ifdef _WIN32
-#include "config.w32"
-#else
 #include "config.h"
-#endif
 
 #ifdef HAVE_SHL_LOAD	/* I love HPUX (jh) */
 #define dlopen  __forget_dlopen_4a_moment

Modified: trunk/openvas-server/ltmain.sh
===================================================================
--- trunk/openvas-server/ltmain.sh	2007-04-11 23:48:53 UTC (rev 171)
+++ trunk/openvas-server/ltmain.sh	2007-04-19 09:12:16 UTC (rev 172)
@@ -56,7 +56,7 @@
 PROGRAM=ltmain.sh
 PACKAGE=libtool
 VERSION=1.4.3
-TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36) Debian$Rev: 145 $"
+TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36) Debian$Rev$"
 
 default_mode=
 help="Try \`$progname --help' for more information."



More information about the Openvas-commits mailing list