1998-04-15 Pavel Machek <pavel@elf.ucw.cz>

* cmd.c: Report failed chdir attempts.
This commit is contained in:
Miguel de Icaza 1998-04-15 22:17:02 +00:00
parent d47dbe9bc2
commit c277a3e1e6
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1998-04-15 Pavel Machek <pavel@elf.ucw.cz>
* cmd.c: Report failed chdir attempts.
Wed Apr 15 10:48:41 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/hotlist.c: changes to hotlist boxes i18n.

View File

@ -1242,6 +1242,8 @@ static void nice_cd (char *text, char *xtext, char *help, char *prefix, int to_h
if (do_panel_cd (MENU_PANEL, cd_path, 0))
directory_history_add (MENU_PANEL, (MENU_PANEL)->cwd);
else
message (1, MSG_ERROR, N_(" Could not chdir to %s ", cd_path);
free (cd_path);
free (machine);
}