Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!texbell!sugar!ficc!bobcloud From: bobcloud@ficc.uu.net (bob cloud) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Freely distributable uudecode (update) Summary: a different solution for the "unresolved index error" Message-ID: <7368@ficc.uu.net> Date: 19 Dec 89 20:07:35 GMT References: Organization: Ferranti International Controls Lines: 16 In article above w8sdz@WSMR-SIMTEL20.ARMY.MIL (Keith Petersen) writes: > Some users have reported trouble compiling the freely distributable > uudecode I posted. It seems that Berkeley moved the "index" function -----text deleted------- On the Xenix system here, the following fix corrected the index error. /* single character decode */ #define index strchr /* <--- added this line to correct the problem */ #define DEC(c) (((c) - ' ') & 077) There were no other changes required. It compiled and ran exactly as the other version except for no checksum errors on files with "M" at the ends of the lines. The output files were the same size. WTYFYS (We Thank You For Your Support). BC (713) 274-5530 Bob Cloud - Ferranti International Controls - Houston, Texas