"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/libdar/tools.cpp" between
dar-2.6.1.tar.gz and dar-2.6.2.tar.gz

About: DAR (Disk ARchive) is a shell command that makes backup of a directory tree and files.

tools.cpp  (dar-2.6.1):tools.cpp  (dar-2.6.2)
skipping to change at line 1127 skipping to change at line 1127
bool info_details) bool info_details)
{ {
regular_mask my_mask = regular_mask(file_mask, true); regular_mask my_mask = regular_mask(file_mask, true);
path chemin = path(ent.get_url(), true); path chemin = path(ent.get_url(), true);
string entry; string entry;
ent.read_dir_reset(); ent.read_dir_reset();
while(ent.read_dir_next(entry)) while(ent.read_dir_next(entry))
if(my_mask.is_covered(entry)) if(my_mask.is_covered(entry))
{ {
const string c_entry = (chemin + entry).display(); const string c_entry = (chemin.append(entry)).display();
if(info_details) if(info_details)
dialog.message(tools_printf(dar_gettext("Removing file %s"), c_entry.c_str())); dialog.message(tools_printf(dar_gettext("Removing file %s"), c_entry.c_str()));
try try
{ {
ent.unlink(entry); ent.unlink(entry);
} }
catch(Euser_abort & e) catch(Euser_abort & e)
{ {
throw; throw;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)