summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajiv Aaron Manglani <rajiv@gentoo.org>2003-02-11 20:51:01 +0000
committerRajiv Aaron Manglani <rajiv@gentoo.org>2003-02-11 20:51:01 +0000
commitb062fb63a6139709261398b75c9a07e12ca972d2 (patch)
treefadfe7046f87d2d97022180da8352a90dc9b7ab3 /net-news/brag
parentremoved lcdproc, changed ncurses (diff)
downloadhistorical-b062fb63a6139709261398b75c9a07e12ca972d2.tar.gz
historical-b062fb63a6139709261398b75c9a07e12ca972d2.tar.bz2
historical-b062fb63a6139709261398b75c9a07e12ca972d2.zip
-m patch submitted by Julian Gorfajn <joules@gorfajn.com>.
Diffstat (limited to 'net-news/brag')
-rw-r--r--net-news/brag/files/brag-1.2.9-gentoo.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-news/brag/files/brag-1.2.9-gentoo.patch b/net-news/brag/files/brag-1.2.9-gentoo.patch
new file mode 100644
index 000000000000..bb61cff889e4
--- /dev/null
+++ b/net-news/brag/files/brag-1.2.9-gentoo.patch
@@ -0,0 +1,44 @@
+--- brag Tue Feb 11 04:05:10 2003
++++ brag-1.2.9-gentoo Mon Feb 10 02:09:12 2003
+@@ -458,6 +458,7 @@
+ variable combine
+ variable combineServers
+ variable total
++ variable max
+ variable getSingle
+ variable threads
+ variable decoders
+@@ -536,6 +537,10 @@
+ incr i
+ set threads [lindex $argList $i]
+ }
++ "-m" {
++ incr i
++ set max [lindex $argList $i]
++ }
+ default {
+ usage
+ }
+@@ -686,7 +691,7 @@
+ if {$lastSaved > $first} {
+ set first $lastSaved
+ }
+- set total [expr {$last - $first + 1}]
++
+
+ print "Server: $server"
+ print "Group: $group"
+@@ -695,7 +700,12 @@
+ print "Accept: [list $accept]"
+ print "Reject: [list $reject]"
+ print "First: $first"
+- print "Last: $last"
++ print "Last Message Found: $last"
++ if {[info exists max] && [expr {$last - $first}] > $max} {
++ set last [expr $first + $max - 1]
++ print "Last (max limited): $last"
++ }
++ set total [expr {$last - $first + 1}]
+
+ if {$first > $last} {
+ exit 0