jvgenmain.c (do_mangle_classname): End string constant with '\0'.
authorJeffrey Oldham <oldham@codesourcery.com>
Wed, 28 Mar 2001 18:16:14 +0000 (18:16 +0000)
committerJeffrey D. Oldham <oldham@gcc.gnu.org>
Wed, 28 Mar 2001 18:16:14 +0000 (18:16 +0000)
2001-03-28  Jeffrey Oldham  <oldham@codesourcery.com>

* jvgenmain.c (do_mangle_classname): End string constant with '\0'.

From-SVN: r40936

gcc/java/ChangeLog
gcc/java/jvgenmain.c

index 48dc795d4d5f7c2990e230a9f63308f62afab183..1203410133e0e5f8040678395355429a5c91aa06 100644 (file)
@@ -1,3 +1,7 @@
+2001-03-28  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * jvgenmain.c (do_mangle_classname): End string constant with '\0'.
+
 2001-03-28  Richard Henderson  <rth@redhat.com>
 
        IA-64 ABI Exception Handling:
index 414ccded13ad7a92476838ce861b592e83c22c8a..4cab1f78360f39167098c06340e71b0638f178af 100644 (file)
@@ -168,5 +168,6 @@ do_mangle_classname (string)
     }
   append_gpp_mangled_name (&ptr [-count], count);
   obstack_grow (mangle_obstack, "6class$E", 8);
+  obstack_1grow (mangle_obstack, '\0');
   return obstack_finish (mangle_obstack);
 }