diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-04-19 02:44:17 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-04-19 02:44:17 +0000 |
commit | 84310fa3a2a44c19c999e3c76c9e79d8e5261282 (patch) | |
tree | c3d48f1372154677b3129a6a6b8ca8b4796cdbd2 /chinese/tin/files | |
parent | Fix this port on -current. (diff) |
Essential line wrapping fix for embedded color assii art.
PORTREVISION bumped.
PR: 26691
Submitted by: Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
Approved by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=41669
Diffstat (limited to 'chinese/tin/files')
-rw-r--r-- | chinese/tin/files/patch-page.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chinese/tin/files/patch-page.c b/chinese/tin/files/patch-page.c new file mode 100644 index 000000000000..10a7573c152f --- /dev/null +++ b/chinese/tin/files/patch-page.c @@ -0,0 +1,20 @@ +--- src/page.c.orig Wed Feb 21 03:18:52 2001 ++++ src/page.c Thu Apr 19 09:35:25 2001 +@@ -867,7 +867,7 @@ + curr = &artline[curr_line+i]; + fseek (note_fp, curr->offset, SEEK_SET); + +- fgets (buff, cCOLS+1, note_fp); ++ fgets (buff, MAXPATHLEN, note_fp); + + /* + * rotN encoding on body and sig data only +@@ -1186,7 +1186,7 @@ + + make_group_path (CURR_GROUP.name, group_path); + +- switch (art_open (TRUE, &arts[new_respnum], group_path, &pgart)) { ++ switch (art_open (FALSE, &arts[new_respnum], group_path, &pgart)) { + + case ART_UNAVAILABLE: + art_mark_read (&CURR_GROUP, &arts[new_respnum]); |