Re: wget build: is this normal?

"Ger Hobbelt" <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
On Fri, Sep 26, 2008 at 12:39 AM, Steve <[email protected]> wrote:
> When fetching the wget files and compiling it, I get the following warnings:
[...]
> Is it normal to have those "division by zero" errors and the "subscript out of range"?

Good you mention these. I checked my GerH sources as well to make sure
I don't screw up the answer:


The divisions by zero are 'by design'. I wouldn't call them 'normal'
so I immediately recognized them, but they are a way to create 'NaN's
which are useful to mark certain math operations as 'undoable' in the
crm R-domain math context (square roots of negative values, that sort
of stuff).

The 'subscript out of range' is definitely a bug as it has been
corrected long ago in the GerH code: snippet follows:

---
    {
        char vname[129];
        strncpy(vname, &nametext[namestart],
                ((128 < namelen) ? 128 : namelen));
        vname[128] = 0; /* [i_a] boundary bug */
        fatalerror("You have blown the memory-storage gaskets while trying"
                   "to store the ISOLATEd variable ", vname);
        return 1;
    }
---


I hope Bill will correct the latter in the official wget, please?



-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
 http://www.hebbut.net/
mail: [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.