Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Early returns Message-ID: <10041@jpl-devvax.JPL.NASA.GOV> Date: 19 Oct 90 20:10:44 GMT References: <10009@jpl-devvax.JPL.NASA.GOV> <35805@rphroy.UUCP> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 23 In article <35805@rphroy.UUCP> tkacik@rphroy.uucp (Tom Tkacik) writes: : Hash.c fails to compile because of the wrong number of arguments. : Wondering if the Apollo has it wrong, I also looked at the manuals for : SUN and SGI machines, and they also show the same thing, : (dbm_nextkey takes a single argument). : : I can get it to compile be adding a -U__STDC__ option to CFLAGS, : (never a bad thing to do on the Apollo), but this really otta' be fixed. There's actually a difference of opinion about it, unfortunately. After the next patch, the code will read: #ifdef NDBM #ifdef _CX_UX nextdkey = dbm_nextkey(tb->tbl_dbm, dkey); #else nextdkey = dbm_nextkey(tb->tbl_dbm); #endif #else nextdkey = nextkey(dkey); #endif Larry