pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:85:   #define MASTER_COOKIE1 "(#*&)@(*&$"   #define MASTER_COOKIE2 "Master Cookie:"      #define MASTER_COOKIE MASTER_COOKIE1 MASTER_COOKIE2      #ifndef MAXPATHLEN   #define MAXPATHLEN 32768   #endif      static const char _master_location[MAXPATHLEN+CONSTANT_STRLEN(MASTER_COOKIE)] = MASTER_COOKIE; - static char *master_file_location = _master_location + CONSTANT_STRLEN(MASTER_COOKIE); + static const char *master_file_location = _master_location + CONSTANT_STRLEN(MASTER_COOKIE);      static void set_master(const char *file)   {    if( master_file_location != _master_location+CONSTANT_STRLEN(MASTER_COOKIE))    free(master_file_location);   #undef strdup /* We can't use dmalloc strdup before pike_memory is initialized. */    master_file_location = strdup( file );   }      #ifdef __NT__