diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-07-05T20·21+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-07-07T11·21+0200 |
commit | 212e96f39c5120ef33b363647a58ebfd61fb3f5e (patch) | |
tree | 423cee941b5a4efcd5ffad25ea60e3b6566159a8 /src | |
parent | b584a42e3db8302095e786b4a12894d073fd75cf (diff) |
Leave `HAVE_HUP_NOTIFICATION' undefined on GNU/Hurd.
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-daemon/nix-daemon.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index 6b5dd7e5aaba..a6f29b7c9795 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -25,8 +25,13 @@ using namespace nix; that lack it, we only notice the disconnection the next time we try to write to the client. So if you have a builder that never generates output on stdout/stderr, the daemon will never notice - that the client has disconnected until the builder terminates. */ -#ifdef O_ASYNC + that the client has disconnected until the builder terminates. + + GNU/Hurd does have O_ASYNC, but its Unix-domain socket translator + (pflocal) does not implement F_SETOWN. See + <http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00021.html> for + details.*/ +#if defined O_ASYNC && !defined __GNU__ #define HAVE_HUP_NOTIFICATION #ifndef SIGPOLL #define SIGPOLL SIGIO |