]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(init_header): Use INT_BUFSIZE_BOUND in place of INT_STRLEN_BOUND + 1.
authorJim Meyering <jim@meyering.net>
Thu, 10 Mar 2005 07:58:34 +0000 (07:58 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 10 Mar 2005 07:58:34 +0000 (07:58 +0000)
src/pr.c

index 44fa6788c735d6db5f79c1fdc9f8fec580848cc4..dc7115533106eaad6c03203f6bee8ef18012a0bc 100644 (file)
--- a/src/pr.c
+++ b/src/pr.c
@@ -1658,7 +1658,7 @@ static void
 init_header (char *filename, int desc)
 {
   char *buf;
-  char initbuf[MAX (256, INT_STRLEN_BOUND (long int) + 1)];
+  char initbuf[MAX (256, INT_BUFSIZE_BOUND (long int))];
   struct stat st;
   struct tm *tm;