pike.git / NT / tools / lib.pike

version» Context lines:

pike.git/NT/tools/lib.pike:347:    if(!len) break;    s=f->read(len);    s=replace(s,"\r\n","\n");    if(!silent)    {    switch(channel)    {    case 0: /* Backwards compatibility */    case 1: inout->write(s); break; // stdout    case 2: inout->werr(s); break; // stderr +  default: /* reserved for future use */    }    }    if(filter) ret+=s;    }    if(filter) filter(ret);    sscanf(f->read(4),"%4c",int code);    f->close("r");   // f->close("w");   // werror("Closing stdout.\n");    destruct(f);