faubackup2/src/common fileinfo.cpp,1.9,1.10
Erik Merkel <[email protected]> Tue, 20 Sep 2005 14:47:30 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6018/src/common
Modified Files:
fileinfo.cpp
Log Message:
Do hardlink-checks only on hardlinked files (don't know why i forget this)
Index: fileinfo.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/common/fileinfo.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** fileinfo.cpp 10 Jul 2005 16:33:23 -0000 1.9
--- fileinfo.cpp 20 Sep 2005 14:47:28 -0000 1.10
***************
*** 145,150 ****
type(whatType(st)), fileSize(st.st_size)
{
! inodeNo = st.st_ino;
! deviceNo = st.st_dev;
fileExist = false;
}
--- 145,157 ----
type(whatType(st)), fileSize(st.st_size)
{
! if(st.st_nlink > 1){
! inodeNo = st.st_ino;
! deviceNo = st.st_dev;
! }
! else
! {
! inodeNo = 0;
! deviceNo =0;
! }
fileExist = false;
}
-------------------------------------------------------
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