PROBLEM:        (HPXQ846D7)     (Patch ID: OSF365-350172)
********
This patch corrects a problem were printjobs cause existing jobs to be deleted
from the queue whenever the number of print queue entries exceeded 1000.

Example:
           The cfA005bozo file in /usr/spool/lpxx exists.
           The next print queue tries to create cfA005bozo.
           After error message "Cannot create cfA005bozo" shows up, do
           "ls -l /usr/spoo/lpxx/cfA005bozo".  This file will be
            deleted.


PROBLEM:        (MGO101607)     (Patch ID: OSF365-350183)
********
This patch corrects a problem in which print jobs created within a short
timeframe, for example within the same second, were not sorted by job numbers
and timestamps.  This resulted in print jobs not being printed in the desired
order.

Example: Prior to the fix, examine the followings:

#ls -tr *.lis
users.lis users1.lis users2.ls users3.lis users4.lis users5.lis
        .
# foreach i (`ls -tr *.lis`)
? lpr -Pxxx $i
? end
        .
# ls -lt /var/spool/printer/xxx/cf*
-rw-rw---- 1    root    daemon  132 Jul 11 10:07 cfA005osfmbh.aui.dec.com
-rw-rw---- 1    root    daemon  132 Jul 11 10:07 cfA007osfmbh.aui.dec.com
-rw-rw---- 1    root    daemon  132 Jul 11 10:07 cfA006osfmbh.aui.dec.com
-rw-rw---- 1    root    daemon  132 Jul 11 10:07 cfA004osfmbh.aui.dec.com
-rw-rw---- 1    root    daemon  132 Jul 11 10:07 cfA003osfmbh.aui.dec.com

# lpq -Pxxx
Fri Feb 17 10:46:29 1995:
Rank  Owner        Job  Files             Total Size
1st   bozo 3       137  users.lis         23 bytes
2nd   bozo 4       138  users1.lis        23 bytes
3rd   bozo 6       139  users3.lis        23 bytes
4th   bozo 7       140  users4.lis        23 bytes
5th   bozo 5       141  users2.lis        23 bytes
6th   bozo 8       142  users5.lis        23 bytes

As you can see, the file users2.lis has Job number 5 which is the 3rd Job but
gets ranked in the 5th position and will not be printed in the desired order
after the file user1.lis despite of the fact that all files were created with
the same timestamp (eg. Jul 11 10:07).  Example: the order should be the
following after the fix

# lpq -Pxxx
Fri Feb 17 10:46:29 1995:
Rank  Pri  Owner        Job Files            Total Size
1st   0    bozo 3       users.lis               23
2nd   0    bozo 4       users1.lis              23
3rd   0    bozo 5       users2.lis              23
4th   0    bozo 6       users3.lis              23
5th   0    bozo 7       users4.lis              23
6th   0    bozo 8       users5.lis              23


PROBLEM:        (QAR 52528)     (Patch ID: OSF365-350392)
********
This patch fixes a problem where the lpq command causes the program to crash
(segmentation fault).

The problem is caused by lpq running until a print queue buffer
in memory is overwritten.

The following is an example of a core dump:

dove.zk3.dec.com: Thu May 19 18:11:54 1994:
 ps29 is ready and printing via network
 Rank   Owner      Job  Files                                 Total Size
 active achan       27   ...                                  789505 bytes
 1st    achan       28   ...                                  790831 bytes
 2nd    achan       29   ...                                  696441 bytes
 3rd    achan       30   ...                                  509919 bytes
 Unaligned access pid=2581 <lpq> va=6f70732f7261762f pc=3ff80129608
 ra=3ff80129194 type=ldq
 Segmentation fault


FILE(s):

/usr/bin/lpq   		subset OSFPRINT350
CHECKSUM: 36259     48	RCSfile: lpq.c   RCS: 4.2.5.2
/usr/bin/lpr   		subset OSFPRINT350
CHECKSUM: 60620     48	RCSfile: lpr.c   RCS: 4.2.33.2
/usr/bin/lprm  		subset OSFPRINT350
CHECKSUM: 41574     40	RCSfile: lprm.c  RCS: 4.2.6.2
/usr/lbin/lpd  		subset OSFPRINT350
CHECKSUM: 34532     96	RCSfile: lpd.c   RCS: 4.2.17.2
