size = PL_strlen(s);
size = nsCRT::strlen(s);
char* dupStr(const char *s, unsigned int size){  char *t;  if  (size == 0) {    size = PL_strlen(s);  }  t = (char*)PR_Malloc(size+1);  if (t) {    nsCRT::memcpy(t,s,size);    t[size] = 0;    return t;  }  else {    return (char*)0;  }}