Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!mips!apple!snorkelwacker!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!fuug!demos!avg From: avg@hq.demos.su (Vadim G. Antonov) Newsgroups: comp.unix.questions Subject: Re: Unix software and USSR Message-ID: <1990Sep28.201537.10407@hq.demos.su> Date: 28 Sep 90 20:15:37 GMT References: <1990Sep26.124217.918@hq.demos.su> <14167@hydra.gatech.EDU> <1990Sep27.165746.2035@hq.demos.su> <4108@rtifs1.UUCP> Reply-To: avg@hq.demos.su (Vadim G. Antonov) Organization: DEMOS, Moscow, USSR Lines: 20 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: > static char L[64]; ^^^^^^ - my $0.02, avg > #define R (L+32) I've done it; and it works! The new test result is: XX0/imINzSUs. (As you can see this bug splitted world into two parts :-) Thank you, Tom! Vadim Antonov DEMOS, Moscow, USSR (It is NOT a joke!)