mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 04:52:04 +03:00
* vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
error messages.
This commit is contained in:
parent
3982497692
commit
6f0a3ef49f
@ -1,3 +1,8 @@
|
||||
2002-08-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
|
||||
error messages.
|
||||
|
||||
2002-08-23 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* Makefile.am: Use mcserv_LDFLAGS, not mcserv_LDADD for the
|
||||
|
@ -1852,13 +1852,12 @@ error:
|
||||
static int errorcount = 0;
|
||||
|
||||
if (++errorcount < 5) {
|
||||
message_1s (1, _("Could not parse:"), p_copy ? p_copy : line);
|
||||
message_1s (1, _("Could not parse:"), (p_copy && *p_copy) ? p_copy : line);
|
||||
} else if (errorcount == 5)
|
||||
message_1s (1, _("More parsing errors will be ignored."), _("(sorry)"));
|
||||
message_1s (1, _(" Error "), _("More parsing errors will be ignored."));
|
||||
}
|
||||
|
||||
if (p_copy)
|
||||
g_free (p_copy);
|
||||
g_free (p_copy);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user