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>
This commit is contained in:
David E. O'Brien 2001-07-30 17:10:31 +00:00
parent a3128f0346
commit 47a2fa8c70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45631

View File

@ -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__ */