| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
with it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
OpenBSD requires different headers to be included, including a bug which
makes it essential to include sys/param.h before sys/ucred.h, and gives the
fields of struct ucred different names than Linux does.
This fixes compilation on OpenBSD and allows the user connecting to a UNIX
socket to be checked, increasing security of the command socket on this
platform.
|
|
|
|
|
|
| |
Hopefully all of these changes are inconsequential.
Merged back changes from the test refactor branch to reduce diffs.
|
| |
|
|
|
|
|
|
|
|
| |
If the system is suspended then it may not realise that a TCP connection has
been closed, while waiting for data to arrive on it. We didn't used to apply
a timeout to this read operation. Now we use the connection's default timeout
on all read and write operations. Network operations that don't pass a timeout
will be logged with a backtrace, so that they can be fixed.
|
|
|
|
| |
We don't really need these, so clean up by removing them.
|
|
|
|
|
|
|
| |
If libedit is installed then -ledit will be detected and added to the link
line, which makes the test for getpeereid pass. Then SocketStream.cpp tries
to use it, but that won't work unless we include bsd/unistd.h where the
prototype is declared.
|
| |
|
|
|
|
|
|
|
|
| |
presumably means that the socket is already closed, causing bbackupd test
to fail. Thanks to Victor Meirans for reporting the problem. See
http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1280 and
http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/192 for example.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
and silence warnings that the peer cannot be identified on this
platform.
Remove another use of uname -o which doesn't work on Solaris.
|
|
|
|
|
| |
const char *, for C++ style.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Import of the upstream sources from
Repository: http://localhost:8000/
Kind: hg
Revision: 7807b7768163f1c2537756abe5416063989cebb1
Original author: tailor@rocio.int.aidworld.org
Date: 2008-03-16 19:44:36+00:00
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
errno, replacing almost all use of strerror() in the main code.
Log a more detailed error message before throwing an exception for some
more system call failures.
Make FileStream store its filename on all platforms, not just Windows.
Wrap some long lines at less than 80 characters to improve readability.
Fix some minor violations of coding standard (white space) and a typo
in a comment.
|
| |
|
|
|
|
|
| |
(merges [1851])
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- This is my current patch queue. I think that all of these are safe
to apply. This is just under half of the pending changes in
chris/general (the easy half).
|
|
|
|
| |
with minor change to exception handling
|
|
|
|
| |
distribution
|
|
|
|
| |
You may need a new checkout to see this.
|
| |
|
| |
|
|
|