1
Received: (at 38460) by bugs.debian.org; 24 Apr 2000 09:51:53 +0000
2
Received: (qmail 13782 invoked from network); 24 Apr 2000 09:51:47 -0000
3
Received: from kuolema.infodrom.north.de (postfix@195.27.69.163)
4
by master.debian.org with SMTP; 24 Apr 2000 09:51:47 -0000
5
Received: from finlandia.Infodrom.North.DE (finlandia.Infodrom.North.DE [195.27
7
by kuolema.infodrom.north.de (Postfix) with ESMTP
8
id AD329146E7C; Mon, 24 Apr 2000 11:51:31 +0200 (CEST)
9
Received: at Infodrom Oldenburg (/\##/\ Smail-3.2.0.102 1998-Aug-2 #2)
10
by finlandia.Infodrom.North.DE
12
id <m12jfWd-000bimC@finlandia.Infodrom.North.DE>
13
for control@bugs.debian.org; Mon, 24 Apr 2000 11:51:31 +0200 (CEST)
14
Date: Mon, 24 Apr 2000 11:51:31 +0200
15
From: Martin Schulze <joey@finlandia.Infodrom.North.DE>
16
To: Debian Bugs Control <38460@bugs.debian.org>
17
Cc: Debian Bugs Control <control@bugs.debian.org>
18
Subject: Re: uustat -s only displays the first 201 jobs
19
Message-ID: <20000424115131.G16052@finlandia.infodrom.north.de>
20
Reply-To: Martin Schulze <joey@infodrom.north.de>
22
Content-Type: text/plain; charset=us-ascii
25
retitle 38460 [PATCH] uustat -s only displays the first 201 jobs
28
Since nobody paid attention to this bug and I'm continuesly threatened
29
by queues that carry more than 200 mails (e.g. backup for a whole domain
30
when their line is down) I had to get something to display the amount
33
Since I needed a package anyway, I've also put them at the web at
35
http://master.debian.org/~joey/NMU/uucp_1.06.1-11.1.changes
36
http://master.debian.org/~joey/NMU/uucp_1.06.1-11.1.diff.gz
37
http://master.debian.org/~joey/NMU/uucp_1.06.1-11.1.dsc
38
http://master.debian.org/~joey/NMU/uucp_1.06.1-11.1_i386.deb
42
diff -u -Nur --exclude CVS orig/uucp-1.06.1/debian/changelog uucp-1.06.1/debian
44
--- orig/uucp-1.06.1/debian/changelog Mon Apr 24 09:50:19 2000
45
+++ uucp-1.06.1/debian/changelog Mon Apr 24 11:35:04 2000
47
+uucp (1.06.1-11.1) unstable; urgency=low
49
+ * Non-Maintainer-Release
50
+ * uustat now displays the entire queue instead of the first 201 entries
53
+ -- Martin Schulze <joey@finlandia.infodrom.north.de> Mon, 24 Apr 2000 11:34:
56
uucp (1.06.1-11) unstable; urgency=low
58
* New bug fix release thanks to Christian Kurz <shorty@debian.org>
59
who kept bugging me until I finally decided to work on uucp :)
61
diff -u -Nur --exclude CVS orig/uucp-1.06.1/system.h uucp-1.06.1/system.h
62
--- orig/uucp-1.06.1/system.h Sun Aug 20 21:29:37 1995
63
+++ uucp-1.06.1/system.h Mon Apr 24 11:22:04 2000
65
will allow all grades from 'A' to 'Z' and 'a' to 'd'). This
66
function should return FALSE on error. */
67
extern boolean fsysdep_get_work_init P((const struct uuconf_system *qsys,
70
+ boolean unlimited));
72
/* Get the next command to be executed for a remote system. The
73
bgrade argument will be the same as for fsysdep_get_work_init;
74
diff -u -Nur --exclude CVS orig/uucp-1.06.1/trans.c uucp-1.06.1/trans.c
75
--- orig/uucp-1.06.1/trans.c Mon Apr 24 09:50:19 2000
76
+++ uucp-1.06.1/trans.c Mon Apr 24 11:22:37 2000
81
- if (! fsysdep_get_work_init (qsys, bgrade))
82
+ if (! fsysdep_get_work_init (qsys, bgrade, FALSE))
86
diff -u -Nur --exclude CVS orig/uucp-1.06.1/unix/work.c uucp-1.06.1/unix/work.c
87
--- orig/uucp-1.06.1/unix/work.c Sun Aug 20 21:30:51 1995
88
+++ uucp-1.06.1/unix/work.c Mon Apr 24 11:26:25 2000
90
#define CWORKFILES (10)
93
-fsysdep_get_work_init (qsys, bgrade)
94
+fsysdep_get_work_init (qsys, bgrade, unlimited)
95
const struct uuconf_system *qsys;
102
asSwork_files[cSwork_files].zfile = zname;
103
asSwork_files[cSwork_files].bgrade = bfilegrade;
105
- if (cSwork_files - chad > COMMANDS_PER_SCAN)
106
+ if (!unlimited && (cSwork_files - chad > COMMANDS_PER_SCAN))
110
diff -u -Nur --exclude CVS orig/uucp-1.06.1/uustat.c uucp-1.06.1/uustat.c
111
--- orig/uucp-1.06.1/uustat.c Sun Aug 20 21:29:56 1995
112
+++ uucp-1.06.1/uustat.c Mon Apr 24 11:26:15 2000
117
- if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW))
118
+ if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW, TRUE))
122
@@ -2166,7 +2166,7 @@
126
- if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW))
127
+ if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW, TRUE))