else if ( (*buf == LF) || (*buf == CR) )
else if ( (*buf == nsCRT::LF) || (*buf == nsCRT::CR) )
FindEOL(char *inBuf, char *buf_end){  char *buf = inBuf;  char *findLoc = nsnull;  while (buf <= buf_end)    if (*buf == 0)       return buf;    else if ( (*buf == LF) || (*buf == CR) )    {      findLoc = buf;      break;    }    else      ++buf;  if (!findLoc)    return nsnull;  else if ((findLoc + 1) > buf_end)    return buf;  if ( (*findLoc == LF && *(findLoc+1) == CR) ||        (*findLoc == CR && *(findLoc+1) == LF))    findLoc++; // possibly a pair.         return findLoc;}