openbsd-ports/lang/gcc/4.2/patches/patch-gcc_dbxout_c

13 lines
502 B
Plaintext
Raw Normal View History

2007-03-20 06:48:52 -04:00
$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
2007-03-20 06:48:52 -04:00
+++ gcc/dbxout.c Sun Mar 18 23:58:44 2007
@@ -1008,7 +1008,7 @@ dbxout_init (const char *input_file_name)
2006-07-31 05:50:53 -04:00
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);