diff options
author | obrien <obrien@FreeBSD.org> | 2001-07-31 01:10:31 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-07-31 01:10:31 +0800 |
commit | 87a3bc6f62e7001a4b2fe748e836d8dd1d00b3ae (patch) | |
tree | 0904b93023c1a722c2dc80336d00dc07e65321a1 /ftp/ncftp3 | |
parent | f7dc7c04321f07766776513f591a45e67268a738 (diff) | |
download | freebsd-ports-graphics-87a3bc6f62e7001a4b2fe748e836d8dd1d00b3ae.tar.gz freebsd-ports-graphics-87a3bc6f62e7001a4b2fe748e836d8dd1d00b3ae.tar.zst freebsd-ports-graphics-87a3bc6f62e7001a4b2fe748e836d8dd1d00b3ae.zip |
This fixes the broken suspend handling in version 3.0.3, in which a ^Z
incorrectly closes an active connection.
Submitted by: Pekka Savola <pekkas@netcore.fi>
Diffstat (limited to 'ftp/ncftp3')
-rw-r--r-- | ftp/ncftp3/files/patch-getline.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ftp/ncftp3/files/patch-getline.c b/ftp/ncftp3/files/patch-getline.c new file mode 100644 index 00000000000..ebe41993055 --- /dev/null +++ b/ftp/ncftp3/files/patch-getline.c @@ -0,0 +1,15 @@ +--- ncftp/getline.c.orig Sat Apr 7 16:55:16 2001 ++++ ncftp/getline.c Sun Jul 29 11:10:37 2001 +@@ -974,7 +974,12 @@ + kill(0, sig); + gl_init(); + gl_redraw(); ++#if 0 + return gl_buf; ++#else ++ /* FALLTHROUGH */ ++ c = 0; /* no beep */ ++#endif + #endif + } + #endif /* __unix__ */ |