Article View: news.software.nntp
Article #40543Re: Diablo debugging problems...
From: bill davidsen
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
30 lines
2150 bytes
2150 bytes
In article <7tdf9o$v9t$1@defiant.cistron.net>, Miquel van Smoorenburg <miquels@cistron.nl> wrote: | In article <brad-0510991730300001@brad.techos.skynet.be>, | Brad Knowles <brad@shub-internet.org> wrote: | > The man page for write(2) says that the second argument is a "const | >void *", while all of the routines I can find that use it in Diablo | >actually call it with a "const char *" or a "char *" in the second | >argument. | | Yes, so ? I guess it has been a long time since you did some C programming, | right ? ;) Or a long time since anyone ran the code through a compiler which complains about type mismatches. The size and format of all pointers is the same on most machines, but not all. I wouldn't expect this to be a problem, but I like to run through several compilers set to be totally anal before I let the code out. It sometimes keeps it from coming back ;-) Don't kid Brad for reading the manual, there are only seven people in the world who do, and they keep the publishing industry alive. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Technical Details
Message-ID:
<7tdsvu$uil$1@newssvr02.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<brad-0110991517500001@brad.techos.skynet.be> <brad-0510991348210001@brad.techos.skynet.be> <brad-0510991730300001@brad.techos.skynet.be> <7tdf9o$v9t$1@defiant.cistron.net>Show Full Headers
Complete Article Headers
Message-ID: <7tdsvu$uil$1@newssvr02.news.prodigy.com> Subject: Re: Diablo debugging problems... Date: Tue, 05 Oct 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <brad-0110991517500001@brad.techos.skynet.be> <brad-0510991348210001@brad.techos.skynet.be> <brad-0510991730300001@brad.techos.skynet.be> <7tdf9o$v9t$1@defiant.cistron.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 533252355 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr02.news.prodigy.com 939161406 31317 199.4.137.118 (5 Oct 1999 22:10:06 GMT) Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com