From 47a2fa8c70bab85e9cea135011a5d9580661ce5c Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 30 Jul 2001 17:10:31 +0000 Subject: [PATCH] This fixes the broken suspend handling in version 3.0.3, in which a ^Z incorrectly closes an active connection. Submitted by: Pekka Savola --- ftp/ncftp3/files/patch-getline.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ftp/ncftp3/files/patch-getline.c diff --git a/ftp/ncftp3/files/patch-getline.c b/ftp/ncftp3/files/patch-getline.c new file mode 100644 index 000000000000..ebe41993055c --- /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__ */