]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added comment on log_file_daemon error reporting
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 21 Jul 2015 12:42:27 +0000 (14:42 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 21 Jul 2015 12:42:27 +0000 (14:42 +0200)
helpers/log_daemon/file/log_file_daemon.cc

index cd1c65fb30d9694a592f41ab454b98f9fc265a12..a2365aabdf37dab6abbdae12ed10eab210afd0aa 100644 (file)
@@ -105,6 +105,9 @@ main(int argc, char *argv[])
         exit(1);
     }
     setbuf(stdout, NULL);
+    /* XXX stderr should not be closed, but in order to support squid must be
+     * able to collect and manage modules's stderr first.
+     */
     close(2);
     t = open(_PATH_DEVNULL, O_RDWR);
     assert(t > -1);