[Openvas-commits] r354 - trunk/openvas-libnasl

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Aug 2 00:02:12 CEST 2007


Author: jan
Date: 2007-08-02 00:02:11 +0200 (Thu, 02 Aug 2007)
New Revision: 354

Modified:
   trunk/openvas-libnasl/ChangeLog
   trunk/openvas-libnasl/TODO
Log:
* TODO: Added some items that Dirk Jagdmann posted
on plugin-writers.


Modified: trunk/openvas-libnasl/ChangeLog
===================================================================
--- trunk/openvas-libnasl/ChangeLog	2007-08-01 21:41:52 UTC (rev 353)
+++ trunk/openvas-libnasl/ChangeLog	2007-08-01 22:02:11 UTC (rev 354)
@@ -1,5 +1,10 @@
 2007-08-01  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
 
+	* TODO: Added some items that Dirk Jagdmann posted
+	on plugin-writers.
+
+2007-08-01  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
+
 	Removed strange handling of CWARN which tries to collect
 	a number of warning wishes for compilation. It didn't
 	really work anyway.

Modified: trunk/openvas-libnasl/TODO
===================================================================
--- trunk/openvas-libnasl/TODO	2007-08-01 21:41:52 UTC (rev 353)
+++ trunk/openvas-libnasl/TODO	2007-08-01 22:02:11 UTC (rev 354)
@@ -1,3 +1,26 @@
+2007-08-01  Dirk Jagdmann <doj at cubic.org>
+
+	Taken from plugins-writers mailing list of
+	Nessus, dated 20070729.
+
+	* array/hash comparison
+
+	local_var a,b; a[0]=0; b[1]=1;
+	if(a == b) { ... }
+
+	* direct initialization of a variable
+
+	local_var a=3;
+	global_var g="nil";
+
+	* use function which returns array/hash directly in expression
+
+	function f()
+	{
+	  local_var a; a["drei"]=3; return a;
+	}
+	if(f()["drei"] == 3) { ... }
+
 2007-05-14  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
 
 	* doc/nessus_org.pem: Apparently this must be replaced



More information about the Openvas-commits mailing list