Red Hat Bugzilla – Bug 74272
uustat -a lists maximun of 201 jobs
Last modified: 2007-04-18 12:46:48 EDT
Description of Problem:
I've got quite a few uucp jobs on my machine
(ls -l /var/spool/uucp/shani/C./ | wc -l gives me 4318).
uustat -a or uustat -s shani lists only 201 jobs which is
incorrect. It looks like only the oldest jobs are listed.
No errors are reported, core is not dumped.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Spool over 201 jobs to uucp
2. give it uustat -a|wc -l command
As far as I can say this is fixed in uucp-1.07 as on ftp.gnu.org site.
In 1.06 this limit is fixed by #define COMMANDS_PER_SCAN (200) in file
unix/work.c. In 1.07 it is passed to function fsysdep_get_work_init as
cmax parameter with 0 meaning 'no limit'.