[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] Re: Command script troubles
From: |
Thomas Dickey |
Subject: |
[Lynx-dev] Re: Command script troubles |
Date: |
Mon, 25 Apr 2005 21:30:04 -0400 (EDT) |
On Mon, 25 Apr 2005, Silvio Moioli wrote:
I'm using: Lynx 2.8.5rel.1 (04 Feb 2004) (latest release)
On: Linux silvio 2.6.10-5-686 #1 Tue Apr 5 12:27:02 UTC 2005 i686
GNU/Linux (Ubuntu Hoary 5.04)
Do you have any suggestions?
yes - it's a coding error. Here's a diff (which I'll add to the next
patch):
--- LYKeymap.c.orig 2005-01-02 18:49:58.000000000 -0500
+++ LYKeymap.c 2005-04-25 21:27:48.000000000 -0400
@@ -1192,7 +1192,7 @@
char *dst = 0;
key = strtol(src, &dst, 0);
- if (isEmpty(dst))
+ if (!isEmpty(dst))
key = -1;
} else if (len > 6 && !strncasecomp(src, "key-", 4)) {
char *dst = 0;
Thanks in advance
PS: I forwarded this email to the addresses above because the first one
address@hidden didn't work.
The current lynx mailing list is address@hidden (see
http://lynx.isc.org).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Lynx-dev] Re: Command script troubles,
Thomas Dickey <=