openbsd-ports/lang/gcc/4.0/patches/patch-gcc_dbxout_c
2005-04-03 15:40:19 +00:00

13 lines
501 B
Plaintext

$OpenBSD: patch-gcc_dbxout_c,v 1.4 2005/04/03 15:40:19 espie Exp $
--- gcc/dbxout.c.orig Wed Mar 23 02:38:40 2005
+++ gcc/dbxout.c Sun Apr 3 16:25:39 2005
@@ -1001,7 +1001,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);