]> Dogcows Code - chaz/tar/commitdiff
(print_header): Change sizes of uform and gform from 11 to
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Jun 1999 11:04:02 +0000 (11:04 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Jun 1999 11:04:02 +0000 (11:04 +0000)
UINTMAX_STRSIZE_BOUND.

src/list.c

index 3a0ad4e65c4c0aa41b568664f5a3278a7a397262..884a5d2fac4a0bbef3401e671b39b00ad68a7520 100644 (file)
@@ -757,7 +757,8 @@ print_header (void)
 {
   char modes[11];
   char *timestamp;
-  char uform[11], gform[11];   /* these hold formatted ints */
+  /* These hold formatted ints.  */
+  char uform[UINTMAX_STRSIZE_BOUND], gform[UINTMAX_STRSIZE_BOUND];
   char *user, *group;
   char size[2 * UINTMAX_STRSIZE_BOUND];
                                /* holds formatted size or major,minor */
This page took 0.024728 seconds and 4 git commands to generate.