Mercurial > pidgin.yaz
changeset 5973:53782414bc3a
[gaim-migrate @ 6420]
This makes Gaim not crash when importing a .gaimrc file that contains
a perl script that does not exist. It might fix other related crashes--
I'm not really sure what uses gaim_plugin_probe, exactly.
Basically I added a check "if plugin file doesn't exist then do nothing"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 29 Jun 2003 06:40:17 +0000 |
parents | c36b3c654761 |
children | 1abc483f74c6 |
files | src/plugin.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugin.c Sun Jun 29 06:16:16 2003 +0000 +++ b/src/plugin.c Sun Jun 29 06:40:17 2003 +0000 @@ -183,6 +183,9 @@ g_return_val_if_fail(filename != NULL, NULL); + if (!g_file_test(filename, G_FILE_TEST_EXISTS)) + return NULL; + plugin = gaim_plugins_find_with_filename(filename); if (plugin != NULL)