summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Calc.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-01-12 01:57:26 +0000
committerMichi Henning <michi@zeroc.com>2005-01-12 01:57:26 +0000
commitb21178e3fd5982f742a9e1931ac65ee7019a484d (patch)
treeb4f2b22365a1a72fa5455a24aac1b06db1ed0d49 /cpp/src/IcePatch2/Calc.cpp
parentssl fix (diff)
downloadice-b21178e3fd5982f742a9e1931ac65ee7019a484d.tar.bz2
ice-b21178e3fd5982f742a9e1931ac65ee7019a484d.tar.xz
ice-b21178e3fd5982f742a9e1931ac65ee7019a484d.zip
Fixed bug in the way path name was constructed if icepatch2calc was given
explicit files on the command line.
Diffstat (limited to 'cpp/src/IcePatch2/Calc.cpp')
-rw-r--r--cpp/src/IcePatch2/Calc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/IcePatch2/Calc.cpp b/cpp/src/IcePatch2/Calc.cpp
index 5d8f7aeefce..830b695dcac 100644
--- a/cpp/src/IcePatch2/Calc.cpp
+++ b/cpp/src/IcePatch2/Calc.cpp
@@ -203,6 +203,7 @@ main(int argc, char* argv[])
}
p->erase(0, dataDirWithSlash.size());
+ *p = "./" + *p;
}
FileInfoSeq infoSeq;