lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] [larryhsfriends] Fwd: lynx: Cannot Type a Page-Number mor


From: Thorsten Glaser
Subject: Re: [Lynx-dev] [larryhsfriends] Fwd: lynx: Cannot Type a Page-Number more than
Date: Mon, 6 Apr 2015 02:24:14 +0000 (UTC)

(removing yahoo from the list of recipients, my MTA blocks them as spammers)

Dallas E. Legan dixit:

>To reproduce this:

Thanks, that is indeed… weird.

>I've done some checking on various machines I have accounts on:

   MirBSD-current/i386 machine
        Lynx Version 2.8.8dev.16-MirOS-0AB5.1
        limit 4 chars

  Debian unstable/i386 machine
        Lynx Version 2.8.9dev.1 (12 Mar 2014)
        limit 4 chars

  Debian unstable/amd64 machine
        same version as above
        limit 8 chars

So, WTF? Seems to be related to sizeof(pointer).

This looks to me like a classical mistake. I saw something like this
when such a change was applied to code:

 {
-       char buf[100];
+       char *buf = xmalloc(100);

        /* […] */

        readinput(buf, sizeof(buf));
 }

bye,
//mirabilos
-- 
<igli> exceptions: a truly awful implementation of quite a nice idea.
<igli> just about the worst way you could do something like that, afaic.
<igli> it's like anti-design.  <mirabilos> that too… may I quote you on that?
<igli> sure, tho i doubt anyone will listen ;)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]