jonah%uwocsd.uwo.ca@MITVMA.MIT.EDU (Jeff Lee) (08/20/88)
The resource manager built into X11 defines a routine called bzero() which expects four parameters. The Sun 3.5 release of BSD 4.2 has a standard library function called bzero() which expects two parameters. So does BSD 4.3 Unix. Needless to say, this difference can trouble the unwary programmer and frustrate the wary. --- Jeff Lee, Research Associate, Department of Computer Science The University of Western Ontario, London Canada, N6A 5B7 jonah@uwocsd.UWO.CDN, jonah@UWOVAX.BITNET, decvax!watmath!julian!uwocsd!jonah
RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (08/20/88)
Date: Fri, 19 Aug 88 14:57:08 EDT From: Jeff Lee <jonah%uwocsd.uwo.ca@mitvma.mit.edu> The resource manager built into X11 defines a routine called bzero() which expects four parameters. Huh? I know it's too early in the morning, but both the vanilla R2 sources and our current sources have Xrm.c calling bzero with two parameters. What am I missing?
jonah%uwocsd.uwo.ca@MITVMA.MIT.EDU (Jeff Lee) (08/21/88)
Oops. [Blush.] Nothing like making a fool of yourself world-wide. I'm still trying to find where the bogus bzero() is coming from, but I'm getting one which expects FOUR parameters linked into some of my code [and blowing up] and its NOT from any of the code that I've written. I found a reference to bzero() using nm(1) in the X11 library but failed to notice that it was a REFERNCE, not a definition. [It was late on a Friday after a hard week but...] Sorry for the inappropriate mud slinging. --- Jeff Lee, Research Associate, Department of Computer Science The University of Western Ontario, London Canada, N6A 5B7 jonah@uwocsd.UWO.CDN, jonah@UWOVAX.BITNET, decvax!watmath!julian!uwocsd!jonah Fractured moral: People who code in glass houses shouldn't sling mud.