]> git.sur5r.net Git - bacula/bacula/commit
A bug was introduced in with commit 5727. Restoretree and restore were
authorDirk H Bartley <dbartley@schupan.com>
Sat, 31 May 2008 21:21:28 +0000 (21:21 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Sat, 31 May 2008 21:21:28 +0000 (21:21 +0000)
commit4bbf56fe1140f2dfa79e6a4a9f717e65375be412
tree2db7df3a05f47f688c3b50e36cb723c2367493ae
parentcd0c6fa92b9dc6af7f49ca486c0ee32d4c41a719
A bug was introduced in with commit 5727.  Restoretree and restore were
after that commit using a subroutine in pages to determine if a path was
a win32 path.  The restore class was sending "/c:/" and restoretree was
sending "c:/".  The subroutine was working for "c:/"  This should fix it
and should also resolve the performance issue.  I'm a little concerned
because I love regexes that maybe a regex would be better, but I'll try
this for a bit to see if all works correctly.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7076 91ce42f0-d328-0410-95d8-f526ca767f89
bacula/src/qt-console/pages.cpp
bacula/src/qt-console/restore/restore.cpp