From: Felix Schumacher Date: Wed, 6 Aug 2008 14:48:40 +0000 (+0200) Subject: jcifs-1.2.24 from tgz X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=771135d347a994d6d627af91804defc834493b6c;p=jcifs_without_docs.git jcifs-1.2.24 from tgz Wed Jul 23 13:35:20 EDT 2008 jcifs-1.2.24 The 2 line change that fixes stand-alond DFS was not in 1.2.23. Now it is. --- diff --git a/README.txt b/README.txt index cded897..f54421d 100644 --- a/README.txt +++ b/README.txt @@ -1,3 +1,8 @@ +Wed Jul 23 13:35:20 EDT 2008 +jcifs-1.2.24 + +The 2 line change that fixes stand-alond DFS was not in 1.2.23. Now it is. + Sun Jul 20 22:28:40 EDT 2008 jcifs-1.2.23 diff --git a/build.xml b/build.xml index ec78884..05c1c52 100644 --- a/build.xml +++ b/build.xml @@ -1,7 +1,7 @@ - - + + diff --git a/src/jcifs/smb/SmbFile.java b/src/jcifs/smb/SmbFile.java index 3fe2650..2244e24 100644 --- a/src/jcifs/smb/SmbFile.java +++ b/src/jcifs/smb/SmbFile.java @@ -689,6 +689,9 @@ public class SmbFile extends URLConnection implements SmbConstants { String dunc = unc.substring(dr.pathConsumed); if (dunc.equals("")) dunc = "\\"; + if (!dr.path.equals("")) + dunc = "\\" + dr.path + dunc; + unc = dunc; if (request != null && request.path != null &&