| From | Sent On | Attachments |
|---|---|---|
| lee...@bsd.ce.ntu.edu.tw | Apr 18, 2001 6:41 pm | |
| cli...@FreeBSD.org | Apr 18, 2001 7:48 pm | |
| Clive Lin | Apr 18, 2001 7:49 pm |
| Subject: | ports/26691: update port: chinese/tin | |
|---|---|---|
| From: | lee...@bsd.ce.ntu.edu.tw (lee...@bsd.ce.ntu.edu.tw) | |
| Date: | Apr 18, 2001 6:41:51 pm | |
| List: | org.freebsd.freebsd-ports | |
Number: 26691 Category: ports Synopsis: update port: chinese/tin Confidential: no Severity: serious Priority: medium Responsible: freebsd-ports State: open Quarter: Keywords: Date-Required: Class: change-request Submitter-Id: current-users Arrival-Date: Wed Apr 18 18:50:05 PDT 2001 Closed-Date: Last-Modified: Originator: Yen-Ming Lee Release: FreeBSD 4.3-RC i386 Organization: Environment:
System: FreeBSD utopia.leeym.com 4.3-RC FreeBSD 4.3-RC #1: Sun Apr 15 16:39:44
CST 2001 ro...@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386
Description:
+ disable line wrap for ASCII color display.
How-To-Repeat:
Fix:
diff -ruN /usr/ports/chinese/tin/Makefile tin/Makefile --- /usr/ports/chinese/tin/Makefile Tue Feb 6 00:04:06 2001 +++ tin/Makefile Thu Apr 19 09:39:45 2001 @@ -13,7 +13,8 @@ EXTRA_PATCHES= ${.CURDIR}/files/patch-charset.c \ ${.CURDIR}/files/patch-cook.c \ ${.CURDIR}/files/patch-init.c \ - ${.CURDIR}/files/patch-misc.c + ${.CURDIR}/files/patch-misc.c \ + ${.CURDIR}/files/patch-page.c
.include "${MASTERDIR}/Makefile"
diff -ruN /usr/ports/chinese/tin/files/patch-page.c tin/files/patch-page.c --- /usr/ports/chinese/tin/files/patch-page.c Thu Jan 1 08:00:00 1970 +++ tin/files/patch-page.c Thu Apr 19 09:35:38 2001 @@ -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]);
Release-Note: Audit-Trail: Unformatted:
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message





