Path: utzoo!mnetor!uunet!husc6!bbn!rochester!cornell!batcomputer!sun.soe.clarkson.edu!nelson From: nelson@sun.soe.clarkson.edu (Russ Nelson) Newsgroups: comp.binaries.ibm.pc Subject: Re: Turbo C's searchpath() fixed. Message-ID: <602@sun.soe.clarkson.edu> Date: 22 Mar 88 20:59:54 GMT References: <569@sun.soe.clarkson.edu> Reply-To: nelson@sun.soe.clarkson.edu.UUCP (Russ Nelson) Organization: Clarkson University, Potsdam, NY Lines: 32 In article <569@sun.soe.clarkson.edu> nelson@sun.soe.clarkson.edu (Russ Nelson) writes: Oops. I mistook: ADD AX,FFC0 << right! for: AND AX,FFC0 << wrong! And these are the diffs to fix it on a source level: *** searchp.bak --- searchp.c ************** *** 70,76 /* absolutize the filename */ if (*dir != '\\' && *dir != '/') { *si++ = '\\'; ! getcurdir(*di & ~0x3f, si); si = strlcase(si, si); #ifdef bug *si++ = '\\'; --- 70,76 ----- /* absolutize the filename */ if (*dir != '\\' && *dir != '/') { *si++ = '\\'; ! getcurdir(*di - '@', si); si = strlcase(si, si); #ifdef bug *si++ = '\\'; -- -russ AT&T: (315)268-6591 BITNET: NELSON@CLUTX Internet: nelson@clutx.clarkson.edu GEnie: BH01 Compu$erve: 70441,205