]> sourceware.org Git - newlib-cygwin.git/commitdiff
* dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 23 Sep 2004 10:32:20 +0000 (10:32 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 23 Sep 2004 10:32:20 +0000 (10:32 +0000)
is not set.

winsup/utils/ChangeLog
winsup/utils/dump_setup.cc

index 46c6c8a4708cc4f2fa6cfd6ab94e62297f0f85d1..6684e3a6804d8a722c8854d4a63bad4996311908 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-23  Bas van Gompel  <cygwin-patch.buzz@bavag.tmfweb.nl>
+
+       * dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
+       is not set.
+
 2004-09-22  Bas van Gompel  <cygwin-patch.buzz@bavag.tmfweb.nl>
            Corinna Vinschen  <corinna@vinschen.de>
 
index 734650e1fb568f97b41265254dd58ce198dc972d..67346ed0e586d8dcf656fb93cddcb0c9b632b001 100644 (file)
@@ -403,8 +403,7 @@ dump_setup (int verbose, char **argv, bool check_files)
                check_package_files (verbose, packages[i].name)
                  ? "     OK" : "     Incomplete");
       else
-       printf ("%-*s %-*s\n", package_len, packages[i].name,
-             strlen(packages[i].ver), packages[i].ver);
+       printf ("%-*s %s\n", package_len, packages[i].name, packages[i].ver);
       fflush(stdout);
     }
 
This page took 0.030995 seconds and 5 git commands to generate.