1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 08:26:38 +02:00

Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.

Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
This commit is contained in:
Adam
2010-10-30 19:41:13 -04:00
parent a7e5d51616
commit fb9f41b3e5
29 changed files with 315 additions and 128 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ class PipeIO : public SocketIO
int Recv(Socket *s, char *buf, size_t sz) const
{
static char dummy[512];
return read(s->GetFD(), &dummy, 512);
return recv(s->GetFD(), dummy, 512, 0);
}
/** Write something to the socket
@@ -38,7 +38,7 @@ class PipeIO : public SocketIO
{
static const char dummy = '*';
Pipe *pipe = debug_cast<Pipe *>(s);
return write(pipe->WritePipe, &dummy, 1);
return send(pipe->WritePipe, &dummy, 1, 0);
}
} pipeSocketIO;