diff options
author | clive <clive@FreeBSD.org> | 2002-05-26 13:41:45 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2002-05-26 13:41:45 +0800 |
commit | e8c155d332645377a8e8737c7d0603c8588a2774 (patch) | |
tree | 4c40624fdc15b18b8501dbbd3dfcc3f64aa29c34 | |
parent | 9307a195e6563d3aa0358ef82aeb3b93b64160e3 (diff) | |
download | freebsd-ports-gnome-e8c155d332645377a8e8737c7d0603c8588a2774.tar.gz freebsd-ports-gnome-e8c155d332645377a8e8737c7d0603c8588a2774.tar.zst freebsd-ports-gnome-e8c155d332645377a8e8737c7d0603c8588a2774.zip |
Chasing news/tin upgrade.
-rw-r--r-- | chinese/tin/files/patch-charset.c | 18 | ||||
-rw-r--r-- | chinese/tin/files/patch-page.c | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/chinese/tin/files/patch-charset.c b/chinese/tin/files/patch-charset.c index fdd790d6fef9..26d37da3a4a9 100644 --- a/chinese/tin/files/patch-charset.c +++ b/chinese/tin/files/patch-charset.c @@ -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++; diff --git a/chinese/tin/files/patch-page.c b/chinese/tin/files/patch-page.c index 9427128928dd..827e4f7135e0 100644 --- a/chinese/tin/files/patch-page.c +++ b/chinese/tin/files/patch-page.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); } |