[izpack-changes] izpack-src/src/lib/com/izforge/izpack/util IoHelper.java,1.22,1.23

eppelman nobody at sheep.berlios.de
Wed Jan 25 17:49:09 CET 2006


Update of /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/util
In directory sheep:/tmp/cvs-serv28004/src/lib/com/izforge/izpack/util

Modified Files:
	IoHelper.java 
Log Message:
-Fixed detection of getFreeSpace() for Tru64 


Index: IoHelper.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/util/IoHelper.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- IoHelper.java	27 Jul 2005 08:57:09 -0000	1.22
+++ IoHelper.java	25 Jan 2006 16:49:07 -0000	1.23
@@ -296,6 +296,14 @@
             fe.executeCommand(params, output);
             retval = extractLong(output[0], -3, 3, "%") * 1024;
         }
+        else if (OsVersion.IS_TRU64)
+        {
+            String[] params = { "bdf", path };
+            String[] output = new String[2];
+            FileExecutor fe = new FileExecutor();
+            fe.executeCommand(params, output);
+            retval = extractLong(output[0], -3, 3, "%") * 1024;
+        }
         else if (OsVersion.IS_UNIX)
         {
             String[] params = { "df", "-Pk", path};




More information about the izpack-changes mailing list