From 771135d347a994d6d627af91804defc834493b6c Mon Sep 17 00:00:00 2001 From: Felix Schumacher Date: Wed, 6 Aug 2008 16:48:40 +0200 Subject: [PATCH] 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. --- README.txt | 5 +++++ build.xml | 4 ++-- src/jcifs/smb/SmbFile.java | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) 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 && -- 2.11.0