freebsd-dev/usr.bin/apply
Jaakko Heinonen 12794df244 - 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
2010-03-05 15:23:01 +00:00
..
apply.1 It's `apply echo *'' that is similar to ls -1'', not `apply echo a*''. 2006-12-13 08:13:14 +00:00
apply.c - Use errx(3) instead of err(3) when checking if snprintf(3) succeeded. 2010-03-05 15:23:01 +00:00
Makefile - Use errx(3) instead of err(3) when checking if snprintf(3) succeeded. 2010-03-05 15:23:01 +00:00