openbsd-ports/lang/gcc/4.0/patches/patch-gcc_dbxout_c
2004-11-23 18:17:34 +00:00

13 lines
499 B
Plaintext

$OpenBSD: patch-gcc_dbxout_c,v 1.2 2004/11/23 18:17:34 espie Exp $
--- gcc/dbxout.c.orig Wed Nov 3 04:19:11 2004
+++ gcc/dbxout.c Tue Nov 23 12:47:44 2004
@@ -998,7 +998,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);