Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
251a405a
...
251a405a7acefa5fbcb835a4d7781d8245f6218f
authored
1999-10-06 22:19:59 +0000
by
Sean 'Shaleh' Perry
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added EINTR support in daemon()
1 parent
4347d2ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
ChangeLog
pop3d/pop3d.c
ChangeLog
View file @
251a405
...
...
@@ -3,6 +3,7 @@ Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 6 Oct 1999 13:55:42 -0700
* Cleanup some compilation issues
* changed "w+" to "w" in called to pop3_mainloop():ofile = fdopen()
why was it called with w+? It is only ever used for writing.
* catch EINTR in call to accept() (play nice w/ our UNIX friends)
Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 5 Oct 1999 23:06:33 -0700
...
...
pop3d/pop3d.c
View file @
251a405
...
...
@@ -330,6 +330,8 @@ pop3_daemon (unsigned int maxchildren)
}
if
(
(
connfd
=
accept
(
listenfd
,
(
SA
*
)
&
client
,
&
size
))
==
-
1
)
{
if
(
errno
==
EINTR
)
continue
;
syslog
(
LOG_ERR
,
"accept: %s"
,
strerror
(
errno
));
exit
(
-
1
);
}
...
...
Please
register
or
sign in
to post a comment