1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Work around bug where NcFTP3 will exit unexpectedly when it gets multibyte

(such as big5) characters:

	ncftp3 some.ftp.site and execute "ls <Big5>.txt"

PR:		50458
Submitted by:	Yen-Ming Lee <leeym@utopia.leeym.com>
This commit is contained in:
David E. O'Brien 2003-03-31 02:08:23 +00:00
parent 8140800605
commit 02acad69ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77795
2 changed files with 10 additions and 1 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= ncftp
PORTVERSION= 3.1.5
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/
DISTNAME= ncftp-${PORTVERSION}-src

View File

@ -1,5 +1,14 @@
--- ncftp/getline.c.orig Sat Apr 7 16:55:16 2001
+++ ncftp/getline.c Sun Jul 29 11:10:37 2001
@@ -367,7 +367,7 @@
{
int c;
#ifdef __unix__
- char ch;
+ unsigned char ch;
#endif
#ifdef __unix__
@@ -974,7 +974,12 @@
kill(0, sig);
gl_init();