summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes2
-rw-r--r--src/core/cs_set.c3
-rw-r--r--src/core/cs_status.c2
-rw-r--r--src/core/ns_register.c3
-rw-r--r--src/core/ns_saset.c3
-rw-r--r--src/core/ns_set.c3
-rw-r--r--src/core/os_chankill.c2
-rw-r--r--version.log6
8 files changed, 21 insertions, 3 deletions
diff --git a/Changes b/Changes
index bbba87421..03180a911 100644
--- a/Changes
+++ b/Changes
@@ -38,6 +38,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
03/03 F Fixed botserv's mode behaviour with protect umode. [#333]
03/18 F Fixed sstrdup() with NULL argument in cs_akick.c. [#460]
03/18 F Fixed charybdis umodes. [#471]
+03/19 F Fixed a gcc4 compiling issue. [#453]
Provided by nenolod. <nenolod@nenolod.net> - 2006
02/03 A Support for Charybdis IRCd. [ #00]
@@ -51,6 +52,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2006
03/18 A New icon file for anope win32. [#472]
03/14 A Anope will now terminate on Win98. Added version check. [#473]
03/01 A Clarity on module loading status numbers. [#435]
+03/19 F Fixed some gcc4 compiling issues. [#453]
03/18 F Fixed closing of file pointer in langtool.c. [#478]
03/14 F Fixed gcc switches for modules. [#474]
03/12 F moduleGetLastBuffer() returning NULL on alias and pseudo clients [#476]
diff --git a/src/core/cs_set.c b/src/core/cs_set.c
index 7916a93b4..15a0395be 100644
--- a/src/core/cs_set.c
+++ b/src/core/cs_set.c
@@ -14,6 +14,9 @@
/*************************************************************************/
#include "module.h"
+#ifdef USE_ENCRYPTION
+#include "encrypt.h"
+#endif
int do_set(User * u);
int do_set_founder(User * u, ChannelInfo * ci, char *param);
diff --git a/src/core/cs_status.c b/src/core/cs_status.c
index a8a847ff1..f44da2da0 100644
--- a/src/core/cs_status.c
+++ b/src/core/cs_status.c
@@ -73,7 +73,7 @@ int do_status(User * u)
ChannelInfo *ci;
User *u2;
char *nick, *chan;
- char *temp;
+ char *temp = NULL;
chan = strtok(NULL, " ");
nick = strtok(NULL, " ");
diff --git a/src/core/ns_register.c b/src/core/ns_register.c
index d26b7a0d6..4eb26c625 100644
--- a/src/core/ns_register.c
+++ b/src/core/ns_register.c
@@ -14,6 +14,9 @@
/*************************************************************************/
#include "module.h"
+#ifdef USE_ENCRYPTION
+#include "encrypt.h"
+#endif
int do_confirm(User * u);
int do_register(User * u);
diff --git a/src/core/ns_saset.c b/src/core/ns_saset.c
index 114b3a0ea..cad28afc1 100644
--- a/src/core/ns_saset.c
+++ b/src/core/ns_saset.c
@@ -14,6 +14,9 @@
/*************************************************************************/
#include "module.h"
+#ifdef USE_ENCRYPTION
+#include "encrypt.h"
+#endif
int do_saset(User * u);
int do_saset_display(User * u, NickCore * nc, char *param);
diff --git a/src/core/ns_set.c b/src/core/ns_set.c
index ce557b79b..9b4b309f5 100644
--- a/src/core/ns_set.c
+++ b/src/core/ns_set.c
@@ -14,6 +14,9 @@
/*************************************************************************/
#include "module.h"
+#ifdef USE_ENCRYPTION
+#include "encrypt.h"
+#endif
int do_set(User * u);
int do_set_display(User * u, NickCore * nc, char *param);
diff --git a/src/core/os_chankill.c b/src/core/os_chankill.c
index cbae88a20..2b1b97ae0 100644
--- a/src/core/os_chankill.c
+++ b/src/core/os_chankill.c
@@ -111,7 +111,7 @@ int do_chankill(User * u)
if (is_oper(cu->user)) {
continue;
}
- strncpy(mask, "*@", 3); /* Use *@" for the akill's, */
+ (void) strncpy(mask, "*@", 3); /* Use *@" for the akill's, */
strncat(mask, cu->user->host, HOSTMAX);
add_akill(NULL, mask, s_OperServ, expires, reason);
check_akill(cu->user->nick, cu->user->username,
diff --git a/version.log b/version.log
index e13b02597..c4a1d3436 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="13"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1011"
+VERSION_BUILD="1012"
# $Log$
#
+# BUILD : 1.7.13 (1012)
+# BUGS : 453
+# NOTES : gcc4 compiling fixes
+#
# BUILD : 1.7.13 (1011)
# BUGS : 472 478
# NOTES : new w32 icon and fixed file pointer