summaryrefslogtreecommitdiff
path: root/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cyrus-imapd/cyrus-imapd-2.2.5/tail.patch')
-rw-r--r--cyrus-imapd/cyrus-imapd-2.2.5/tail.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch b/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
index e69de29bb2..38a3ecbac6 100644
--- a/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
+++ b/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
@@ -0,0 +1,8 @@
+--- cyrus-imapd-2.2.5/imap/xversion.sh.orig 2003-10-22 20:03:00 +0200
++++ cyrus-imapd-2.2.5/imap/xversion.sh 2004-08-26 16:57:29 +0200
+@@ -22,4 +22,4 @@
+ match ($0, pattern) {
+ printf "\"%s\"\n", substr($0, RSTART, RLENGTH)
+ }' pattern="$DATEPAT $TIMEPAT" | \
+- sort | tail -1 >> xversion.h
++ sort | tail -n 1 >> xversion.h