This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[VMS] Fix IDENTIFICATION padding
- From: Tristan Gingold <gingold at adacore dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 21 Feb 2012 10:03:10 +0100
- Subject: [VMS] Fix IDENTIFICATION padding
Hi,
tiny patch to fix the padding of the identification string. Now left padded, which is more natural for humans.
Committed on trunk.
Tristan.
2012-02-21 Tristan Gingold <gingold@adacore.com>
* config/vms/vms-ld.c (main): Fix IDENTIFICATION padding.
Index: gcc/config/vms/vms-ld.c
===================================================================
--- gcc/config/vms/vms-ld.c (revision 184425)
+++ gcc/config/vms/vms-ld.c (working copy)
@@ -640,7 +640,7 @@
{
/* Comes from pragma Ident (). */
fprintf (optfile, "case_sensitive=yes\n");
- fprintf (optfile, "IDENTIFICATION=\"%15.15s\"\n", &argv[i][17]);
+ fprintf (optfile, "IDENTIFICATION=\"%-.15s\"\n", &argv[i][17]);
fprintf (optfile, "case_sensitive=NO\n");
}
}