pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*   || 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: interpret.c,v 1.346 2004/04/03 21:59:37 mast Exp $ + || $Id: interpret.c,v 1.347 2004/04/05 17:31:00 grubba Exp $   */      #include "global.h" - RCSID("$Id: interpret.c,v 1.346 2004/04/03 21:59:37 mast Exp $"); + RCSID("$Id: interpret.c,v 1.347 2004/04/05 17:31:00 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "stralloc.h"   #include "constants.h"   #include "pike_macros.h"
pike.git/src/interpret.c:1410:    file=f+1;    }    }else{    linep=0;    file="-";    }       {    char buf[40];    if (linep) -  snprintf (buf, sizeof (buf), "%s:%ld:", file, (long)linep); +  SNPRINTF(buf, sizeof (buf), "%s:%ld:", file, (long)linep);    else -  snprintf (buf, sizeof (buf), "%s:", file); +  SNPRINTF(buf, sizeof (buf), "%s:", file);    fprintf(stderr,"- %-20s %s\n",buf,s);    }       if (filep) {    free_string(filep);    }    free(s);   }      static void do_trace_func_return (int got_retval, struct object *o, int fun)
pike.git/src/interpret.c:1485:    file=f+1;    }    }else{    linep=0;    file="-";    }       {    char buf[40];    if (linep) -  snprintf (buf, sizeof (buf), "%s:%ld:", file, (long)linep); +  SNPRINTF(buf, sizeof (buf), "%s:%ld:", file, (long)linep);    else -  snprintf (buf, sizeof (buf), "%s:", file); +  SNPRINTF(buf, sizeof (buf), "%s:", file);    fprintf(stderr,"- %-20s %s\n",buf,s);    }       if (filep) {    free_string(filep);    }    free(s);   }