faubackup2/src/copier informationSender.cpp,1.6,1.7 local_sender.hpp,1.4,1.5 sender.hpp,1.4,1.5
Erik Merkel <[email protected]> Sun, 26 Jun 2005 18:39:04 +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-serv25722/copier
Modified Files:
informationSender.cpp local_sender.hpp sender.hpp
Log Message:
cleanup whitespaces
Index: local_sender.hpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/local_sender.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** local_sender.hpp 22 Jun 2005 22:56:29 -0000 1.4
--- local_sender.hpp 26 Jun 2005 18:39:02 -0000 1.5
***************
*** 11,15 ****
{
-
class LocalSender: public Sender
{
--- 11,14 ----
***************
*** 19,27 ****
void reg_file_copy(string name, struct stat st);
void reg_file_link(string name, struct stat st);
-
void register_hardlink_file(string name, ino_t inode_nr);
string resolv_hardlink_file(string name);
-
string backup_dir, old_backup_dir;
multimap<ino_t, string> HardlinkMap;
--- 18,24 ----
***************
*** 31,35 ****
void send(Fileinfo &data, struct stat &st);
void sendfinish();
-
};
--- 28,31 ----
Index: informationSender.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/informationSender.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** informationSender.cpp 22 Jun 2005 22:56:29 -0000 1.6
--- informationSender.cpp 26 Jun 2005 18:39:02 -0000 1.7
***************
*** 12,16 ****
InformationSender::InformationSender(NetCommunication &net, string dir)
{
-
if(dir != "")
if(dir[dir.length()-1] != '/')
--- 12,15 ----
***************
*** 66,70 ****
i++;
} while(i != j);
-
register_hardlink_file(name, st.st_ino);
return "";
--- 65,68 ----
Index: sender.hpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/sender.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sender.hpp 22 Jun 2005 22:56:29 -0000 1.4
--- sender.hpp 26 Jun 2005 18:39:02 -0000 1.5
***************
*** 14,18 ****
{
public:
-
Sender()
{}
--- 14,17 ----
***************
*** 22,29 ****
virtual void send(Fileinfo &data, struct stat &st) = 0;
virtual void sendfinish() = 0;
-
};
}
-
#endif
--- 21,26 ----
-------------------------------------------------------
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