faubackup2/src/copier distributor.cpp,1.14,1.15 filereceiver.cpp,1.5,1.6 filesender.cpp,1.8,1.9

Erik Merkel <[email protected]> Thu, 22 Sep 2005 16:43:26 +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-serv22237/copier

Modified Files:
	distributor.cpp filereceiver.cpp filesender.cpp 
Log Message:
removed buffering from rsync module + minor changes in other files


Index: distributor.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/distributor.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** distributor.cpp	20 Sep 2005 23:31:12 -0000	1.14
--- distributor.cpp	22 Sep 2005 16:43:24 -0000	1.15
***************
*** 259,265 ****
  				fileinfo.setExisting(false);
  				if(fileinfo.getInodeNo()) {
- 					fileinfo.getFilename(), DEBUG_OUTPUT);
  					register_hardlink_file(fileinfo.getInodeNo(), fileinfo);
- 
  				} else
  					new_file(fileinfo);
--- 259,263 ----

Index: filesender.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/filesender.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** filesender.cpp	10 Jul 2005 16:33:23 -0000	1.8
--- filesender.cpp	22 Sep 2005 16:43:24 -0000	1.9
***************
*** 64,67 ****
--- 64,68 ----
  	sendInode(name);
  	network->sendFile(file);
+ 	output.information("sende file! done", DEBUG_OUTPUT);
  	fclose(file);
  }
***************
*** 107,110 ****
--- 108,112 ----
  	char *pointer = getRawInode(st, size);
  	network->sendData(pointer, size);
+ 	output.information("sende inode! done", DEBUG_OUTPUT);
  }
  

Index: filereceiver.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/filereceiver.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** filereceiver.cpp	21 Jun 2005 09:16:45 -0000	1.5
--- filereceiver.cpp	22 Sep 2005 16:43:24 -0000	1.6
***************
*** 106,109 ****
--- 106,110 ----
  	output.information("Hardlink file!", DEBUG_OUTPUT);
  	string destination = backup_dir + network->readString();
+ 	output.information("destination: " + destination + " " + backup_dir + name, DEBUG_OUTPUT);
  	makeHardLink(destination, backup_dir + name);
  }



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php