summaryrefslogtreecommitdiffstats
path: root/src/appl/telnet/telnetd/utility.c
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>1996-09-21 09:27:45 +0000
committerSam Hartman <hartmans@mit.edu>1996-09-21 09:27:45 +0000
commit3b2ff8b6e6733d9f4bb0ef17e2a7ee05c5549431 (patch)
tree8a6855d7a75dc6d66d21f9b5337f28115ce5d8c1 /src/appl/telnet/telnetd/utility.c
parentb67d0cec8adc2c43e274c60e8a838cf63f06d206 (diff)
downloadkrb5-3b2ff8b6e6733d9f4bb0ef17e2a7ee05c5549431.tar.gz
krb5-3b2ff8b6e6733d9f4bb0ef17e2a7ee05c5549431.tar.xz
krb5-3b2ff8b6e6733d9f4bb0ef17e2a7ee05c5549431.zip
Check in all of jik's patches besides the forward command
and init stanza. I think that as a low-priority fix, someone should rewrite the posix_signals stuff in sys_bsd.c to be more consistent with the rest of the code; it is correct but in a different style. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9102 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/telnet/telnetd/utility.c')
-rw-r--r--src/appl/telnet/telnetd/utility.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/appl/telnet/telnetd/utility.c b/src/appl/telnet/telnetd/utility.c
index 54d42d296e..7b72e80a5a 100644
--- a/src/appl/telnet/telnetd/utility.c
+++ b/src/appl/telnet/telnetd/utility.c
@@ -59,8 +59,11 @@ ttloop()
if (nfrontp-nbackp) {
netflush();
}
+read_again:
ncc = read(net, netibuf, sizeof netibuf);
if (ncc < 0) {
+ if (errno == EINTR)
+ goto read_again;
syslog(LOG_INFO, "ttloop: read: %m");
exit(1);
} else if (ncc == 0) {