diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2006-12-10 16:26:06 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2006-12-10 16:26:06 +0000 |
commit | 075fbb61a1cb6fb352d0a4a51a334cdb71ed9eb9 (patch) | |
tree | 9980e0dfc02c6cf977cc52ea70a0785589b1bb57 /sysutils/vobcopy/files/patch-vobcopy.c | |
parent | Add missing file (diff) |
Update to 1.0.1
Notes
Notes:
svn path=/head/; revision=179394
Diffstat (limited to 'sysutils/vobcopy/files/patch-vobcopy.c')
-rw-r--r-- | sysutils/vobcopy/files/patch-vobcopy.c | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/sysutils/vobcopy/files/patch-vobcopy.c b/sysutils/vobcopy/files/patch-vobcopy.c index bf0fe9e0d2ca..21a73a77f26b 100644 --- a/sysutils/vobcopy/files/patch-vobcopy.c +++ b/sysutils/vobcopy/files/patch-vobcopy.c @@ -1,5 +1,5 @@ ---- vobcopy.c.orig Wed Dec 7 21:31:56 2005 -+++ vobcopy.c Sun Jan 8 10:47:02 2006 +--- vobcopy.c.orig Mon Dec 4 23:50:04 2006 ++++ vobcopy.c Mon Dec 4 23:52:23 2006 @@ -146,6 +146,8 @@ #endif @@ -9,29 +9,3 @@ /* * the getopt part (getting the options from command line) -@@ -1695,8 +1697,12 @@ - fprintf( stderr, "Used statvfs\n" ); - #endif - temp1 = buf1.f_bavail; -+#ifdef USE_STATFS -+ temp2 = buf1.f_bsize; -+#else - /* On Solaris at least, f_bsize is not the actual block size -- lb */ - temp2 = buf1.f_frsize; -+#endif - sum = ( ( off_t )temp1 * ( off_t )temp2 ); - if( verbosity_level >= 1 ) - { -@@ -1733,8 +1739,12 @@ - fprintf( stderr, "Used statvfs\n" ); - #endif - temp1 = buf2.f_blocks; -+#ifdef USE_STATFS -+ temp2 = buf2.f_bsize; -+#else - /* On Solaris at least, f_bsize is not the actual block size -- lb */ - temp2 = buf2.f_frsize; -+#endif - sum = ( ( off_t )temp1 * ( off_t )temp2 ); - if( verbosity_level >= 1 ) - { |