dpk (07/30/82)
#N:brl-bmd:1400002:000:1323 brl-bmd!dpk Jul 30 05:45:00 1982 At our site, the USERFILE has gotten quite large, and we began to have weird problems with UUCP. We began to have problems with UUCP leaving LCK files lying around for no apparent reason. And finally when our USERFILE got the 20th (or was it 21th) line, UUCICO broke entirely, with no word as to the reason. I later discovered that there was a limit to the number lines (MAXUSERS (I believe) in chkpth.c). I cut back our USERFILE. We still had the lockfile problem, so I looked again and discovered that although MAXUSERS was 20, there was a hardcoded 15 for the arraysize. rdpth() was madly tromping all over dynamically allocated memory. Yuck. I was dismayed that they had hardcoded in a maximum number anyway, so I have rewritten a good chunck of chkpth.c so that now all memory needed is dynamically allocated and kept in a linked list of "struct userpath". I just made the fix, so I won't post it yet, but if it is still bug-free by tomorrow, I will post the part of the module that I changed to this newsgroup/notesfile. I also want to fix the "blank line syndrome" that causes UUCICO to fall flat on its face if there is a blank line in the USERFILE. Sign. Stay tuned for futher details. Tired of fixing UUCP... Doug Kingston <dpk> Ballistics Research Laboratory duke!unc!brl-bmd!dpk