🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #842

Re: DNS caching; is it *truly* possible to flush locally?

#842
From: Nick Leverton
Date: Mon, 29 Jul 1996 00:00
21 lines
1625 bytes
In article <838411052snz@dsl.co.uk>
>
>Well, let's look at the definition of int32 (from GLOBAL.H):
>    typedef unsigned long int32;    /* 32-bit signed integer */
>Note that *carefully*: the comment says that it's a signed integer (which
>it needs to be for the code fragment above to work).  But the actual C
>declares it to be an UNsigned integer.  ...
[snip]
>                         ...  The reason why I say it will be difficult
>to fix is that there are literally hundreds of variables declared as
>int32s: some of these may be meant to be signed, and some unsigned, and
>the code involving each will have to be examined to determine which is
>which.  

I'm surely preaching to the converted here, but this is exactly the type
of error that lint is very good at catching.  Feed it all the sources,
preferably all at once (lint *.c) so that it can catch inconsistent
usages between different modules, and see what it says ...

N.
Technical Details
Message-ID: <838673454snx@warren.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <838060435snz@dsl.co.uk> <838306928snz.4895@grempc.demon.co.uk> <838400731snz@dsl.co.uk> <838411052snz@dsl.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,467f920bc280412f
X-Google-Attributes: gid10bb05,public
From: Nick Leverton <leveret@warren.demon.co.uk>
Subject: Re: DNS caching; is it *truly* possible to flush locally?
Date: 1996/07/29
Message-ID: <838673454snx@warren.demon.co.uk>
X-Deja-AN: 170854635
x-mail2news-path: relay2.pipex.net!leveret.rb.icl.co.uk
x-nntp-posting-host: leveret.rb.icl.co.uk
references: <838060435snz@dsl.co.uk> <838306928snz.4895@grempc.demon.co.uk> <838400731snz@dsl.co.uk> <838411052snz@dsl.co.uk>
organization: Indexed; Access: Random.
newsgroups: demon.ip.developers
x-mailer: cppnews $Revision: 1.43 $