openbsd-ports/lang/gcc/4.2/patches/patch-gcc_dbxout_c
2007-03-20 10:48:52 +00:00

13 lines
502 B
Plaintext

$OpenBSD: patch-gcc_dbxout_c,v 1.3 2007/03/20 10:48:52 espie Exp $
--- gcc/dbxout.c.orig Wed Jul 26 19:38:37 2006
+++ gcc/dbxout.c Sun Mar 18 23:58:44 2007
@@ -1008,7 +1008,7 @@ dbxout_init (const char *input_file_name)
if (cwd[0] == '\0')
cwd = "/";
else if (!IS_DIR_SEPARATOR (cwd[strlen (cwd) - 1]))
- cwd = concat (cwd, "/", NULL);
+ cwd = concat (cwd, "/", (void *)0);
}
#ifdef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
DBX_OUTPUT_MAIN_SOURCE_DIRECTORY (asm_out_file, cwd);