Branch: Tag:

2014-10-21

2014-10-21 01:35:01 by Martin Nilsson <nilsson@opera.com>

snprintf is used lower cased in several places. Use snprintf instead of SNPRINTF.

1840:    {    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);    } else if (linep) {    fprintf(stderr, "- %s:%ld: %s\n", file, (long)linep, s);
1919:    {    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);    }