]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Add a little infrastructure to help prevent future bugs like the
authorJim Meyering <jim@meyering.net>
Sat, 12 Mar 2005 10:59:23 +0000 (10:59 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 Mar 2005 10:59:23 +0000 (10:59 +0000)
commite1ba36b6073ccb73bfc116a6c0361d6befa20494
tree72abdbfd0c5262e5a152614c1ab5d28d62664bb0
parentd9d98362233ab51869b8829f91d70f37a54be5a5
Add a little infrastructure to help prevent future bugs like the
one fixed today.

(xstrcat): New function.
(print_statfs, print_stat): Add buf_len parameter and convert all
uses of strcat to xstrcat.  Update callers.
(print_it): Call print_func with buf_len parameter.
src/stat.c