From: Carl Baldwin Date: Tue, 25 Oct 2005 16:26:47 +0000 (-0600) Subject: Regular commit X-Git-Tag: release-0.4~70 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/static/gitweb.css?a=commitdiff_plain;h=57409dee8819cc504d47a2f27b8937091244ed13;p=backups%2F.git Regular commit --- diff --git a/main.cpp b/main.cpp index d8a1214..c7ae387 100644 --- a/main.cpp +++ b/main.cpp @@ -124,6 +124,7 @@ template void updateLastBackupDate( ITER begin, const ITER &end, unsigned long long date ) { while( begin != end ) { (*begin)->setLastBackupDate( date ); + ++begin; } } diff --git a/scripts/files-from-date.sh b/scripts/files-from-date.sh index 6680e97..80c0ad3 100755 --- a/scripts/files-from-date.sh +++ b/scripts/files-from-date.sh @@ -2,4 +2,4 @@ [ $# == 1 ] || exit 1 -awk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1 +awk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /^([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1