Chasing news/tin upgrade.
This commit is contained in:
parent
a3fa234769
commit
f656988200
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60009
@ -1,20 +1,20 @@
|
||||
--- src/charset.c.orig Tue Jan 29 22:31:11 2002
|
||||
+++ src/charset.c Fri Mar 22 22:55:40 2002
|
||||
@@ -335,7 +335,7 @@
|
||||
--- src/charset.c.orig Wed Apr 24 18:41:18 2002
|
||||
+++ src/charset.c Sun May 26 13:33:00 2002
|
||||
@@ -333,7 +333,7 @@
|
||||
|
||||
for (c = (unsigned char *)buf; *c; c++) {
|
||||
for (c = (unsigned char *) buf; *c; c++) {
|
||||
#ifdef ENABLE_MBLEN
|
||||
- if (!my_isprint(*c) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
|
||||
+ if (!my_isprint(*c) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1 && *c != 27)
|
||||
- if (!my_isprint(*c) && (t_len = mblen((const char *) c, MAX(2,MB_CUR_MAX))) <= 1)
|
||||
+ if (!my_isprint(*c) && (t_len = mblen((const char *) c, MAX(2,MB_CUR_MAX))) <= 1 && *c != 27)
|
||||
*c = '?';
|
||||
while (--t_len > 0)
|
||||
c++;
|
||||
@@ -363,7 +363,7 @@
|
||||
@@ -361,7 +361,7 @@
|
||||
|
||||
for (c = (unsigned char *)buf; *c; c++) {
|
||||
#ifdef ENABLE_MBLEN
|
||||
- if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
|
||||
+ if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13 || *c == 27) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
|
||||
- if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13) && (t_len = mblen((const char *) c, MAX(2,MB_CUR_MAX))) <= 1)
|
||||
+ if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13 || *c == 27 ) && (t_len = mblen((const char *) c, MAX(2,MB_CUR_MAX))) <= 1)
|
||||
*c = '?';
|
||||
while (--t_len > 0)
|
||||
c++;
|
||||
|
@ -1,9 +1,9 @@
|
||||
--- src/page.c.orig Mon Jul 23 18:14:53 2001
|
||||
+++ src/page.c Wed Aug 8 18:24:04 2001
|
||||
@@ -838,8 +838,8 @@
|
||||
fseek (file, curr->offset, SEEK_SET);
|
||||
--- src/page.c.orig Sat Apr 27 23:04:47 2002
|
||||
+++ src/page.c Sun May 26 13:35:27 2002
|
||||
@@ -952,8 +952,8 @@
|
||||
if ((line = tin_fgets (file, FALSE)) == NULL)
|
||||
break; /* ran out of message */
|
||||
|
||||
- if ((int) strlen(line) >= cCOLS)
|
||||
- line[cCOLS] = '\0';
|
||||
+ if ((int) strlen(line) >= LEN)
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
/*
|
||||
* rotN encoding on body and sig data only
|
||||
@@ -858,7 +858,7 @@
|
||||
@@ -971,7 +971,7 @@
|
||||
strip_line(line);
|
||||
|
||||
#ifndef USE_CURSES
|
||||
@ -20,7 +20,7 @@
|
||||
#endif /* !USE_CURSES */
|
||||
|
||||
MoveCursor (i + scroll_region_top, 0);
|
||||
@@ -1364,7 +1364,7 @@
|
||||
@@ -1492,7 +1492,7 @@
|
||||
chunk += 50;
|
||||
pgart.rawl = my_realloc((char *) pgart.rawl, sizeof(t_lineinfo) * chunk);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user