Branch: Tag:

2006-07-05

2006-07-05 00:47:36 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some warnings.

Rev: src/main.c:1.225
Rev: src/modules/_math/math.c:1.85

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: main.c,v 1.224 2005/05/20 10:39:04 mast Exp $ + || $Id: main.c,v 1.225 2006/07/05 00:37:18 mast Exp $   */      #include "global.h"
171:   static void find_lib_dir(int argc, char **argv)   {    int e; -  char *p; -  char *dir; +        TRACE((stderr, "find_lib_dir...\n"));   
216:    break;    }    } +    #ifdef LIBPIKE -  +  { +  char *p; +  char *dir;    memcpy(libpike_file, master_location + CONSTANT_STRLEN(MASTER_COOKIE),    sizeof(master_location) - CONSTANT_STRLEN(MASTER_COOKIE));    for (p = dir = libpike_file; *p; p++) {
235: Inside #if defined(LIBPIKE)
   }    /* Don't forget the NUL! */    memcpy(p, "pike.so", CONSTANT_STRLEN("pike.so") + 1); +  }   #endif /* LIBPIKE */   }   
243:    JMP_BUF back;    int e, num;    char *p; -  struct array *a; +        TRACE((stderr, "Init master...\n"));