Path: utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!rpi!uupsi!sunic!compuram!pgd From: pgd@bbt.se (P.Garbha) Newsgroups: comp.unix.questions Subject: Re: Unix software and USSR Message-ID: <1990Sep30.085132.349@bbt.se> Date: 30 Sep 90 08:51:32 GMT References: <14167@hydra.gatech.EDU> <1990Sep27.165746.2035@hq.demos.su> <4108@rtifs1.UUCP> Organization: . Lines: 18 In article <4108@rtifs1.UUCP> trt@rti.rti.org (Thomas Truscott) writes: > >Just a thought: if your version of crypt.c has line >that declares "L" and "R" to be arrays of size 32, >your version is depending on L and R being allocated >adjacent to each other. This is an ancient bug that >no one ever bothers to fix. > >Try instead: > char L[64]; > #define R (L+32) >That might fix things. Then again, maybe not. > > Tom Truscott YES!! That fixes the bug so that crypt is compilable with gcc for an i386