]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
* setup.c (main): Change version number output.
authorChristopher Faylor <me@cgf.cx>
Thu, 27 Apr 2000 13:55:26 +0000 (13:55 +0000)
committerChristopher Faylor <me@cgf.cx>
Thu, 27 Apr 2000 13:55:26 +0000 (13:55 +0000)
ChangeLog
setup.c

index f598a8a03550632f7cb5e928982a8e64760d38a5..4c5da597e82e95d2887431eef0439aafbe336ef5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Apr 27 09:54:19 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * setup.c (main): Change version number output.
+
 Thu Apr 27 09:23:17 2000  Christopher Faylor <cgf@cygnus.com>
 
        * setup.c (tarx): Use full path name to tar executable.
diff --git a/setup.c b/setup.c
index a8a5cb16db200a1c7c6ba908eee29697ec1b4346..0212657deb5e799feb01fbf630fa3375c8c25f57 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -1211,7 +1211,7 @@ mkmount (const char *mountexedir, const char *root, const char *dospath,
   return xcreate_process (1, NULL, NULL, NULL, buffer) != 0;
 }
 
-static char rev[] = " $Revision$ ";
+static char rev[] = "$Revision$ ";
 
 int
 main ()
@@ -1231,8 +1231,8 @@ main ()
     revn = "";
   else
     {
-      revn = rev;
-      revn[1] = '(';
+      revn--;
+      memcpy (revn, " (v", 3);
       *p = ')';
       p[1] = '\0';
     }
This page took 0.032444 seconds and 5 git commands to generate.