faubackup2/src/copier distributor.cpp,1.9,1.10 distributor.hpp,1.5,1.6
Erik Merkel <[email protected]> Wed, 22 Jun 2005 21:42:34 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src/copier
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32352/src/copier
Modified Files:
distributor.cpp distributor.hpp
Log Message:
speed improvments
Index: distributor.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/distributor.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** distributor.cpp 21 Jun 2005 09:16:45 -0000 1.9
--- distributor.cpp 22 Jun 2005 21:42:31 -0000 1.10
***************
*** 13,17 ****
extern int do_nothing;
! void Distributor::file_changed(Fileinfo file)
{
if(file.getBackupMode() == KeepExisting)
--- 13,17 ----
extern int do_nothing;
! void Distributor::file_changed(Fileinfo &file)
{
if(file.getBackupMode() == KeepExisting)
***************
*** 44,48 ****
}
}
! void Distributor::file_unchanged(Fileinfo file)
{
if(do_nothing) {
--- 44,48 ----
}
}
! void Distributor::file_unchanged(Fileinfo &file)
{
if(do_nothing) {
***************
*** 56,60 ****
}
! void Distributor::new_file(Fileinfo file)
{
if(file.getBackupMode() == KeepExisting) {
--- 56,60 ----
}
! void Distributor::new_file(Fileinfo &file)
{
if(file.getBackupMode() == KeepExisting) {
***************
*** 84,88 ****
}
}
! void Distributor::no_reg_file(Fileinfo file)
{
if(do_nothing) {
--- 84,88 ----
}
}
! void Distributor::no_reg_file(Fileinfo &file)
{
if(do_nothing) {
Index: distributor.hpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/distributor.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** distributor.hpp 14 Jun 2005 20:45:36 -0000 1.5
--- distributor.hpp 22 Jun 2005 21:42:31 -0000 1.6
***************
*** 26,33 ****
string old_dir, destination;
! void file_changed(Fileinfo file);
! void file_unchanged(Fileinfo file);
! void new_file(Fileinfo file);
! void no_reg_file(Fileinfo file);
public:
--- 26,33 ----
string old_dir, destination;
! void file_changed(Fileinfo &file);
! void file_unchanged(Fileinfo &file);
! void new_file(Fileinfo &file);
! void no_reg_file(Fileinfo &file);
public:
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click