This is just a minor bug fix and tidy up release. ftp://ftp.astart.com/pub/LPRng/LPRng-3.6.20.tgz Release LPRng 3.6.20 - Sat Jul 8 12:32:38 PDT 2000 One of the silly memory leaks that has been reported, tested for, analyzed, etc., finally was found. The problem was in the child.c file, where I keep track of children processes by dynamically allocating a list. While I carefully cleaned up the list in children of the main LPD process, I never cleaned up the list in the main LPD process. Thus, if you created a large number of children the list would grow a small amount (4 bytes) for each child. This problem was found by brutally using the 'DMALLOC' debugging package, finding every 'malloc' call in the main LPD process and then looking for a matching free call in the main line loop. When one was not found for the case where I had 0 processes I knew that I had found the problem. Sigh. (Stumbled over after staring at the code for a week by: Patrick Powell <[EMAIL PROTECTED]>) Makefile now checks that POSTINSTALL is 'NO' or 'no' (Noted by: Craig Small <[EMAIL PROTECTED]>) checkpc -C and checkpc -c file removed. Legacy options and I don't know why they were still there. (Noticed by: Jesper Dangaard Brouer <[EMAIL PROTECTED]>) The call to 'Remove_tempfile()' routine was removed from the 'cleanup()' when trying to find the above mentioned memory leak and was not put back. Bad Coder! Bad! (Found by: A Earle <[EMAIL PROTECTED]>) The pclbanner and psbanner had some errors that showed up under bash. Very odd that the ksh and /bin/sh did not whoop on them. (Clever debugging by: David Livingstone <[EMAIL PROTECTED]>) checkpc -r -A was a little too agressive and it blew away all sorts of files. The -r now only works on job files. I do NOT remove job files unless the -r -A age options are given. This prevents some problems with jobs being moved into a queue just as checkpc is being run from cron. Sigh... Cron. I forgot all about Cron. (Noticed by: Craig Small <[EMAIL PROTECTED]>) Patrick Powell Astart Technologies, [EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D, Network and System San Diego, CA 92123 Consulting 858-874-6543 FAX 858-279-8424 LPRng - Print Spooler (http://www.astart.com) ----------------------------------------------------------------------------- If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
