+2000-07-15 Perry Lorier <Isomer@coders.net>
+ * various: Fixed warnings after compiling on an alpha.
2000-07-09 Perry Lorier <Isomer@coders.net>
* doc/ircd.8: Applied grammitical changes by Liandrin, applied
changes suggested by various other people.
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.156 2000-07-15 01:31:23 isomer Exp $
+# $Id: ChangeLog,v 1.157 2000-07-15 12:29:15 isomer Exp $
#
# Insert new changes at beginning of the change list.
#
* something is leaking "a meg a minute" with heap debugging on
with 1300+ clients
(No idea)
+* add_Target in s_user.c turns pointers to ints
+ this doesn't make much sence on alpha where sizeof(void *) != sizeof(int)
Medium Priority:
* crule parser coredumps on invalid input
#include <stdio.h> /* BUFSIZ, EOF */
#include <sys/stat.h> /* struct stat */
#include <unistd.h> /* read, write, open, close */
+#include <string.h>
#define FB_EOF 0x01
#define FB_FAIL 0x02
#include "send.h"
#include <assert.h>
+#include <string.h>
int need_more_params(struct Client* cptr, const char* cmd)
{
#include "sys.h" /* FALSE bleah */
#include <assert.h>
+#include <string.h>
static struct Jupe *GlobalJupeList = 0;
#include "send.h"
#include <assert.h>
+#include <string.h>
/*
* ms_error - server message handler
#include "send.h"
#include <assert.h>
+#include <string.h>
/*
* m_ping - generic message handler
#include "struct.h"
#include <stdio.h> /* sprintf */
+#include <string.h>
void dump_map(struct Client *cptr, struct Client *server, char *mask, int prompt_length)
{
#include <stdio.h>
#include <sys/time.h>
+#include <string.h>
char localkey[9] = RANDOM_SEED;
{
#ifdef DEBUGMODE
if (debuglevel >= 0) {
- printf("isatty = %d ttyname = %#x\n", isatty(2), (unsigned int)ttyname(2));
+ printf("isatty = %d ttyname = %s\n", isatty(2), ttyname(2));
if (!use_tty) {
int fd;
/*
#include "sprintf_irc.h"
#include <assert.h>
+#include <string.h>
static Numeric replyTable[] = {
/* 000 */
*/
void add_target(struct Client *sptr, void *target)
{
- unsigned char hash = hash_target((unsigned int) target);
+ /* Ok, this shouldn't work esp on alpha
+ */
+ unsigned char hash = hash_target((unsigned long) target);
unsigned char* targets;
int i;
assert(0 != sptr);
int check_target_limit(struct Client *sptr, void *target, const char *name,
int created)
{
- unsigned char hash = hash_target((unsigned int) target);
+ unsigned char hash = hash_target((unsigned long) target);
int i;
unsigned char* targets;
#include <assert.h>
#include <stdlib.h>
+#include <string.h>
static struct Whowas whowas[NICKNAMEHISTORYLENGTH];