|
From: | Stephan Beal |
Subject: | Re: [Tinycc-devel] Small patch |
Date: | Thu, 31 Jan 2013 12:34:27 +0100 |
> - strcpy(buf, "__bound_");
> - strcat(buf, name);
> + snprintf(buf, sizeof(buf), "__bound_%s", name);
strcpy and strcat are C89 and C99 while snprintf is only C99.
[Prev in Thread] | Current Thread | [Next in Thread] |