pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1: - /* $Id: master.pike.in,v 1.17 1998/04/21 03:54:01 per Exp $ + /* $Id: master.pike.in,v 1.18 1998/04/23 18:35:55 marcus Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      int is_absolute_path(string p)   {   #ifdef __NT__    p=replace(p,"\\","/");
pike.git/lib/master.pike.in:738:   // FIXME   string stupid_describe(mixed m)   {    switch(string typ=sprintf("%t",m))    {    case "int":    case "float":    return (string)m;       case "string": -  if(sizeof(m) < 60 && sscanf(m,"%*[-a-zAZ0-9.~`!@#$%^&*()_]%n",int i) && i==sizeof(m)) +  if(sizeof(m) < 60 && sscanf(m,"%*[^\0-\037\177-\237\\\"]%n",int i) && i==sizeof(m))    {    return "\""+m+"\"";    }       case "array":    case "mapping":    case "multiset":    return typ+"["+sizeof(m)+"]";       default: