rpms/telnet/devel telnet-0.17-errno_test_sys_bsd.patch,NONE,1.1
Harald Hoyer (harald)
fedora-extras-commits at redhat.com
Wed Aug 22 14:46:28 UTC 2007
Author: harald
Update of /cvs/pkgs/rpms/telnet/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27789
Added Files:
telnet-0.17-errno_test_sys_bsd.patch
Log Message:
actually add the patch also
telnet-0.17-errno_test_sys_bsd.patch:
--- NEW FILE telnet-0.17-errno_test_sys_bsd.patch ---
--- netkit-telnet-0.17/telnet/sys_bsd.c.errnosysbsd 2007-08-01 11:37:27.000000000 +0200
+++ netkit-telnet-0.17/telnet/sys_bsd.c 2007-08-01 11:39:23.000000000 +0200
@@ -407,6 +407,11 @@
tcsetattr(tin, TCSADRAIN, &tmp_tc);
#endif /* USE_TERMIO */
old = ttyflush(SYNCHing|flushout);
+ if (old < 0) {
+ if (! ((errno == EINTR) || (errno == EAGAIN) || (errno == ENOSPC))) {
+ break;
+ }
+ }
} while (old < 0 || old > 1);
}
More information about the fedora-extras-commits
mailing list