Upgrade to uustatus for Xenix386 2.3.1 HDB uucp

Robert J. Granvin rjg at sialis.mn.org
Fri Jan 27 17:50:33 AEST 1989


In article <5316 at turnkey.TCC.COM> sandy at turnkey.TCC.COM (Sanford 'Sandy' Zelkovitz) writes:
>The following is the Xenix 386, version 2.3.1 modifications to Ed Carp's
>uustatus and filefind. It turns out that the SCO Xenix HDB uucp has 23
>return codes instead of the 22 that uustatus.h described. When error code
>23 was encountered a memory fault core dump was the result. The code
>now looks for a M_XENIX compile switch, which is automatically given by
>the SCO compiler and the proper includes, etc. are compiled. Since SCO only
>supports HDB uucp in their 386 release to date, no attempt has been made
>to test it under Xenix286.

If you're not running SCO, and you still have core dumps or memory
faults after the copyright notice comes up, check for a line in
uustatus.c that reads:

       while(fgets(line, 510, in) != (char *)NULL)

and change it to:

       while(fgets(line, 128, in) != (char *)NULL)

Earlier in the code, line is defined as a char of 128 positions.
Making this change will prevent the memory fault/core dumps.

This seems to work fine.  :-)

-- 
       Robert J. Granvin            "A cowboy should know his horse, but it
 National Information Services       seemed to the podners at the Triple Q
       rjg at sialis.mn.org             Ranch that Vernon McChew had gotten TOO
{amdahl,hpda}!bungia!sialis!rjg      close."



More information about the Alt.sources mailing list