Re: [wpkg-users] wpkgCreateReport

2009-09-10 Thread Falko Trojahn
Hi,

 New bugfixing release of wpkgCreateReport can be found at:

 http://www.gig-mbh.de/edv/software/wpkgtools/wpkg-create-report-english.htm



at first: thanx for this nice work.

But, for some of my PCs, I get a

S:\install\wpkg\report\createReport.js(881, 7) Laufzeitfehler in
Microsoft JScript: 'null' ist Null oder kein Objekt


and/or same with (1746,7).


The following patch clears the problem for me, perhaps it
is not enough for all cases - but you get an idea.

If you need the files or more information from me, drop me a line.

Best regards,
Falko


 diff -u org/createReport.js createReport.js
--- org/createReport.js2009-09-05 18:24:54.0 +0200
+++ createReport.js2009-09-10 13:54:28.0 +0200
@@ -878,6 +878,14 @@
   var valB;
   var length;

+  if (a == null)
+  {
+ return 2;
+  }
+  if (b == null)
+  {
+ return 3;
+  }
   a = a.split(.);
   b = b.split(.);
   length = Math.max(a.length, b.length);
@@ -1742,7 +1750,8 @@
   var i;
   var ch;
   var result;
-
+  if (str == null) return result;
+
   str = str.replace(/\/g, amp;);
// ampersands ()
   str = str.replace(/\/g, lt;);
// less-thans ()
   str = str.replace(/\/g, gt;);
// greater-thans ()
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG is a Samba addon...

2009-09-10 Thread Tomasz Chmielewski

luca_mangane...@comune.trento.it wrote:


On this site: http://freshmeat.net/projects/wpkg/ I read this:

WPKG is a Samba add-on that will help distribute software, hotfixes, and
patches to many clients. You can easily deploy software, packages, updates,
and changes without the need to manually go from one workstation to
another. You simply configure the software that should be installed on a
given machine or a group of machines, and next time these workstations are
booted, the software you specified is installed automatically.


I think that Samba add-on is wrong...


Well, it does work with Samba  ;)


freshmeat.net policy was not very clear (at least a couple of years ago) 
about open source projects which worked with closed software and they 
were against Windows controller addon or such.



Yes, the wording could be changed... I'm not sure how many people find 
out about WPKG through freshmeat.net.



--
Tomasz Chmielewski
http://wpkg.org
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users