summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2010-03-05 15:23:01 +0000
committerjh <jh@FreeBSD.org>2010-03-05 15:23:01 +0000
commitba646ecd6fecd8f82a5df041fa3818b1f49cb375 (patch)
tree411318be07df3cec7aa3f6855cc1e38c3aea5ee5 /contrib/gcc
parent94e741a5e69d24673cb9820a57dd0397eb65f6ce (diff)
downloadFreeBSD-src-ba646ecd6fecd8f82a5df041fa3818b1f49cb375.zip
FreeBSD-src-ba646ecd6fecd8f82a5df041fa3818b1f49cb375.tar.gz
- Use errx(3) instead of err(3) when checking if snprintf(3) succeeded.
snprintf(3) doesn't set errno in the tested cases. - If the same argument reference (for example %1) was specified more than once, the command didn't necessarily fit to the final command buffer. Fix this using a dynamic sbuf buffer. Add a few regression tests for the case. PR: bin/95079 No objections: freebsd-hackers
Diffstat (limited to 'contrib/gcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud