* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
* coffread.c (patch_type, process_coff_symbol): Likewise. * corelow.c (core_open): Likewise. * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile): * language.c (set_lang_str, set_type_str, set_range_str) (set_case_str): Likewise. * source.c (add_path, openp): Likewise. * stabsread.c: Likewise. * top.c (init_history): Likewise. * utils.c (xfullpath): Likewise. * value.c (lookup_internalvar): Likewise. * cli/cli-cmds.c (cd_command): Likewise. * cli/cli-dump.c (add_dump_command): Likewise.
This commit is contained in:
parent
540b09cb7d
commit
1754f103e6
13 changed files with 53 additions and 34 deletions
|
@ -300,7 +300,7 @@ core_open (char *filename, int from_tty)
|
|||
filename = tilde_expand (filename);
|
||||
if (filename[0] != '/')
|
||||
{
|
||||
temp = concat (current_directory, "/", filename, NULL);
|
||||
temp = concat (current_directory, "/", filename, (char *)NULL);
|
||||
xfree (filename);
|
||||
filename = temp;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue