~ubuntu-branches/ubuntu/breezy/uucp/breezy

« back to all changes in this revision

Viewing changes to debian/patch.uustat-all.lines

  • Committer: Bazaar Package Importer
  • Author(s): Peter Palfrader
  • Date: 2004-12-30 15:30:22 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041230153022-mx4cdr9j3u9bldo3
Tags: 1.07-12
Add cs localisation for debconf templates (closes: #287305).

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
6
 
.69.162])
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
11
 
        via smail from stdin
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>
21
 
Mime-Version: 1.0
22
 
Content-Type: text/plain; charset=us-ascii
23
 
User-Agent: Mutt/1.0i
24
 
 
25
 
retitle 38460 [PATCH] uustat -s only displays the first 201 jobs
26
 
thanks
27
 
 
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
31
 
of data.
32
 
 
33
 
Since I needed a package anyway, I've also put them at the web at
34
 
 
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
39
 
 
40
 
So here is the patch.
41
 
 
42
 
diff -u -Nur --exclude CVS orig/uucp-1.06.1/debian/changelog uucp-1.06.1/debian
43
 
/changelog
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
46
 
@@ -1,4 +1,13 @@
47
 
+uucp (1.06.1-11.1) unstable; urgency=low
48
 
+
49
 
+  * Non-Maintainer-Release
50
 
+  * uustat now displays the entire queue instead of the first 201 entries
51
 
+    (fixes: Bug#38460)
52
 
+
53
 
+ -- Martin Schulze <joey@finlandia.infodrom.north.de>  Mon, 24 Apr 2000 11:34:
54
 
58 +0200
55
 
+
56
 
 uucp (1.06.1-11) unstable; urgency=low
57
 
+
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 :)
60
 
   * Fixes bugs:
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
64
 
@@ -303,7 +303,8 @@
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,
68
 
-                                       int bgrade));
69
 
+                                       int bgrade,
70
 
+                                       boolean unlimited));
71
 
 
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
77
 
@@ -511,7 +511,7 @@
78
 
   if (bgrade == '\0')
79
 
     return TRUE;
80
 
 
81
 
-  if (! fsysdep_get_work_init (qsys, bgrade))
82
 
+  if (! fsysdep_get_work_init (qsys, bgrade, FALSE))
83
 
     return FALSE;
84
 
 
85
 
   while (TRUE)
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
89
 
@@ -282,9 +282,10 @@
90
 
 #define CWORKFILES (10)
91
 
 
92
 
 boolean
93
 
-fsysdep_get_work_init (qsys, bgrade)
94
 
+fsysdep_get_work_init (qsys, bgrade, unlimited)
95
 
      const struct uuconf_system *qsys;
96
 
      int bgrade;
97
 
+     boolean unlimited;
98
 
 {
99
 
   char *zdir;
100
 
   DIR *qdir;
101
 
@@ -398,7 +399,7 @@
102
 
              asSwork_files[cSwork_files].zfile = zname;
103
 
              asSwork_files[cSwork_files].bgrade = bfilegrade;
104
 
              ++cSwork_files;
105
 
-             if (cSwork_files - chad > COMMANDS_PER_SCAN)
106
 
+             if (!unlimited && (cSwork_files - chad > COMMANDS_PER_SCAN))
107
 
                break;
108
 
            }
109
 
        }
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
113
 
@@ -933,7 +933,7 @@
114
 
 {
115
 
   boolean fret;
116
 
 
117
 
-  if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW))
118
 
+  if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW, TRUE))
119
 
     return FALSE;
120
 
 
121
 
   while (TRUE)
122
 
@@ -2166,7 +2166,7 @@
123
 
   char *zid;
124
 
   boolean fret;
125
 
 
126
 
-  if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW))
127
 
+  if (! fsysdep_get_work_init (qsys, UUCONF_GRADE_LOW, TRUE))
128
 
     return FALSE;
129
 
 
130
 
   cwork = 0;
131
 
 
132