Path: utzoo!attcan!uunet!decwrl!wuarchive!cs.utexas.edu!sun-barr!newstop!sun!coherent!mrspoc!itkin From: itkin@mrspoc.Transact.COM (Steven M. List) Newsgroups: comp.lang.perl Subject: Think I found it (hash.c problem) Message-ID: <1990Oct19.203546.2266@mrspoc.Transact.COM> Date: 19 Oct 90 20:35:46 GMT Reply-To: itkin@guinan.Transact.COM Organization: Transact Software, Inc., Los Altos, CA Lines: 29 I just posted a message (before lunch) about the problem in compiling hash.c at patchlevel 36. After lunch (maybe increasing blood sugar helped my thought processes?), I looked at where the problem was occurring. Well, after examining perl.h, I found that all the other dbm_() calls were #defined to something else if ODBM is #defined EXCEPT dbm_nextkey(). And that was the line that was blowing up. So I added a #define for dbm_nextkey() and it now compiles. Being impatient, I'm posting this message before I find out if it loads or works, but couldn't wait!! Here's the patch... *** perl.h.old Fri Oct 19 13:34:17 1990 --- perl.h Fri Oct 19 13:30:26 1990 *************** *** 253,254 #define dbm_firstkey(db) firstkey() #endif /* ODBM */ --- 253,256 ----- #define dbm_firstkey(db) firstkey() + /* this line added LOCAL at mrspoc */ + #define dbm_nextkey(db,dkey) nextkey(dkey) #endif /* ODBM */ -- +----------------------------------------------------------------------------+ : Steven List @ Transact Software, Inc. :^>~ : : Chairman, Unify User Group of Northern California : : {apple,coherent,limbo,mips,pyramid,ubvax}!itkin@guinan.Transact.COM :