* cp-namespace.c (cp_lookup_symbol_in_namespace): Fix alloca size.
Fix whitespace.
+2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cp-namespace.c (cp_lookup_symbol_in_namespace): Fix alloca size.
+ Fix whitespace.
+
2010-04-24 Pedro Alves <pedro@codesourcery.com>
* defs.h: Adjust comment.
else
{
char *concatenated_name = alloca (strlen (namespace) + 2 +
- strlen (name+ 1));
+ strlen (name) + 1);
strcpy (concatenated_name, namespace);
strcat (concatenated_name, "::");
strcat (concatenated_name, name);
return lookup_symbol_file (concatenated_name, block,
- domain,cp_is_anonymous (namespace));
+ domain, cp_is_anonymous (namespace));
}
}