mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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:
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
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
PORTNAME= ncftp
|
PORTNAME= ncftp
|
||||||
PORTVERSION= 3.1.5
|
PORTVERSION= 3.1.5
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= ftp ipv6
|
CATEGORIES= ftp ipv6
|
||||||
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/
|
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/
|
||||||
DISTNAME= ncftp-${PORTVERSION}-src
|
DISTNAME= ncftp-${PORTVERSION}-src
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
--- ncftp/getline.c.orig Sat Apr 7 16:55:16 2001
|
--- ncftp/getline.c.orig Sat Apr 7 16:55:16 2001
|
||||||
+++ ncftp/getline.c Sun Jul 29 11:10:37 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 @@
|
@@ -974,7 +974,12 @@
|
||||||
kill(0, sig);
|
kill(0, sig);
|
||||||
gl_init();
|
gl_init();
|
||||||
|
|
Loading…
Add table
Reference in a new issue