diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 12:32:52 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 12:32:52 +0100 |
commit | e9b3ea1a7a203ae88c60fbd128acb6b395925621 (patch) | |
tree | 63491193279d19e30bd86ca8e3cb8805cf7ab2f1 /src | |
parent | fix errors + use flock on socket (diff) | |
download | sat-e9b3ea1a7a203ae88c60fbd128acb6b395925621.tar.gz sat-e9b3ea1a7a203ae88c60fbd128acb6b395925621.tar.bz2 sat-e9b3ea1a7a203ae88c60fbd128acb6b395925621.tar.xz |
doc
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/satd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -90,6 +90,7 @@ does_not_exist: t (fchmod(fd, S_IRWXU) == -1); t (fchown(fd, getuid(), getgid()) == -1); t (bind(fd, (struct sockaddr *)address, sizeof(*address)) == -1); + /* EADDRINUSE just means that the file already exists, not that it is actually used. */ /* Mark the socket as owned by a living process. */ t (flock(fd, LOCK_SH)); |