13/05/16 Do not free unallocated memory in InspIRCd protocol
Fixes
+13/11/17 Fixes compiler error when mysql backtrace is enabled, and the system doesn't have backtrace()
+ also properly includes the header for backtrace()
+13/11/17 Fixes compiler warning on DragonFly BSD
13/11/15 BSD systems fixes
13/11/13 Denora can compile on Solairs/OpenIndian
13/11/13 Fixed crash bug with nefarious ircds
</td>
</tr>
<tr>
- <td>FreeBSD<br>
+ <td>NetBSD<br>
NetBSD netbsd.Home 6.1.2 NetBSD 6.1.2 (GENERIC) i386
</td>
<td>
-COLLECT_GCC=gcc
-Target: i486--netbsdelf
-Thread model: posix
+COLLECT_GCC=gcc<br>
+Target: i486--netbsdelf<br>
+Thread model: posix<br>
gcc version 4.5.3 (NetBSD nb2 20110806)
<br>
</td>
<td>mysql v5.5.33</td>
- <td>make strict, does have a warning, to be fixed in future release
+ <td> </td>
+ </tr>
+
+ <tr>
+ <td>DragonFly BSD<br>
+ DragonFly dragon 3.4-RELEASE DragonFly v3.4.3-RELEASE #0: Wed Aug 28 01:55:49 UTC 2013 root@:/usr/obj/usr/src/sys/GENERIC i386
+ </td>
+ <td>
+Target: i386-pc-dragonflybsd<br>
+Configured with: DragonFly/i386 system compiler (c, c++, objc, LTO)<br>
+Thread model: posix<br>
+gcc version 4.7.2 [DragonFly] Release/2012-09-20<br>
</td>
+ <td>mysql v5.1.67</td>
+ <td>A couple of make strict items to be cleaned up later</td>
</tr>
+
</table>
</body>
#else
#ifdef HAVE_MALLOC_H
#ifndef __OpenBSD__
+#ifndef __DragonFly__
#include <malloc.h>
#endif
#endif
#endif
+#endif
/************************************************************************/
/* These are our headers that setup various things */
E int ChanHasMode(char *chan, int m);
#if defined(HAVE_CRYPT) && !defined(HAVE_CRYPT_H)
-#if !defined(__FreeBSD__) || !defined(__NetBSD__)
+
+#ifndef __FreeBSD__
+#ifndef __NetBSD__
+#ifndef __DragonFly__
E char *crypt (__const char *__key, __const char *__salt);
+
+
#else
#ifndef HAVE_UNISTD_H
E char *crypt (__const char *__key, __const char *__salt);
#endif
#endif
#endif
+#endif
+#endif
#endif /* EXTERN_H */
char modebuf[15];
char *temp = NULL;
const char *flag;
- const char *operlevelchar = "o";
int is_operlevel = 0;
int closesql = 0;
#ifdef USE_MYSQL_BT
+#ifdef HAVE_BACKTRACE
int nptrs, j;
void *buffer[100];
char **strings;
+#endif
#endif
if (!denora->do_sql)
{
alog(LOG_DEBUG, "[con %d/%s] %s", con, result == 0 ? "Accepted" : "Rejected", sql);
#ifdef USE_MYSQL_BT
+#ifdef HAVE_BACKTRACE
nptrs = backtrace(buffer, 6);
strings = backtrace_symbols(buffer, nptrs);
if (strings != NULL) {
alog(LOG_DEBUG, "[bt %d/%d] %s", j, nptrs, strings[j]);
free(strings);
}
+#endif
#endif
}
}
VERSION_MINOR="5"
VERSION_PATCH="0"
VERSION_EXTRA="git-beta"
-VERSION_BUILD="747"
+VERSION_BUILD="748"