[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev 2.8.2dev.19 patch 1 - small ebcdic fix
From: |
pg |
Subject: |
Re: lynx-dev 2.8.2dev.19 patch 1 - small ebcdic fix |
Date: |
Tue, 27 Apr 1999 17:58:27 -0600 (MDT) |
The following lines from
Linkname: Re: lynx-dev 2.8.2dev.19 patch 1 - small ebcdic fix
URL: http://www.flora.org/lynx-dev/html/month0399/msg00360.html
were never integrated. I hope you weren't dissuaded because I
mitigated, but couldn't entirely eliminate the "FIXME". This
is about 20% of an entire patch, of which the other 80% was
integrated in the next dev release.
Thanks,
gil
===================================================================
diff -bru orig/lynx2-8-2/src/LYMail.c lynx2-8-2/src/LYMail.c
--- orig/lynx2-8-2/src/LYMail.c Wed Feb 17 07:29:33 1999
+++ lynx2-8-2/src/LYMail.c Mon Mar 8 09:09:00 1999
@@ -37,8 +37,9 @@
HTUnEscape(string);
for (i=0; string[i] != '\0'; i++)
{
- /* FIXME: this is explicitly 7-bit ASCII */
- if (string[i] < ' ' || string[i] >= 127)
+ /* FIXME: this is no longer explicitly 7-bit ASCII,
+ but are there portability problems? */
+ if ((!LYIsASCII(string[i])) || !isprint(string[i]))
{
string[i] = '?';
flg = TRUE;
- Re: lynx-dev 2.8.2dev.19 patch 1 - small ebcdic fix,
pg <=