From 57409dee8819cc504d47a2f27b8937091244ed13 Mon Sep 17 00:00:00 2001 From: Carl Baldwin Date: Tue, 25 Oct 2005 10:26:47 -0600 Subject: [PATCH] Regular commit --- main.cpp | 1 + scripts/files-from-date.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.34.1