From 0e293e16295ec9115c5a2ce3554c133f89691945 Mon Sep 17 00:00:00 2001 From: miwi Date: Tue, 18 Dec 2007 18:37:18 +0000 Subject: - Fixes a linker problem when not using libtool 15 - Fixes a bug causing the program to crash on exit if the hostname was not set yet PR: 118797 Submitted by: Pietro Cerutti --- ftp/junglemonkey/files/patch-src-util_sha_cache.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ftp/junglemonkey/files/patch-src-util_sha_cache.c (limited to 'ftp/junglemonkey/files') diff --git a/ftp/junglemonkey/files/patch-src-util_sha_cache.c b/ftp/junglemonkey/files/patch-src-util_sha_cache.c new file mode 100644 index 000000000000..313e6e82e72e --- /dev/null +++ b/ftp/junglemonkey/files/patch-src-util_sha_cache.c @@ -0,0 +1,11 @@ +--- src/util/sha_cache.c.orig 2007-12-17 23:04:06.000000000 +0100 ++++ src/util/sha_cache.c 2007-12-17 23:09:16.000000000 +0100 +@@ -213,7 +213,7 @@ + g_return_if_fail (sha_cache); + g_return_if_fail (file); + +- g_hash_table_foreach (sha_cache->path_to_sha, write_hfunc, file); ++ if(sha_cache) g_hash_table_foreach (sha_cache->path_to_sha, write_hfunc, file); + } + + -- cgit