From 0edf5e76a5ff03de80c14b3172c609ee4e22d6a0 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 1 Dec 2010 15:38:47 +0000 Subject: [PATCH] 2010-12-01 Ramon Novoa * plugins/pandora_update: Fixed md5 calculation. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/unix/ChangeLog | 4 ++++ pandora_agents/unix/plugins/pandora_update | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora_agents/unix/ChangeLog b/pandora_agents/unix/ChangeLog index 0c80df28cb..f8bbb3ac7f 100644 --- a/pandora_agents/unix/ChangeLog +++ b/pandora_agents/unix/ChangeLog @@ -1,3 +1,7 @@ +2010-12-01 Ramon Novoa + + * plugins/pandora_update: Fixed md5 calculation. + 2010-11-29 Ramon Novoa * pandora_agent_installer: Remove all init symbolic links. diff --git a/pandora_agents/unix/plugins/pandora_update b/pandora_agents/unix/plugins/pandora_update index 7453d1608b..c13a9bec8e 100755 --- a/pandora_agents/unix/plugins/pandora_update +++ b/pandora_agents/unix/plugins/pandora_update @@ -65,13 +65,13 @@ sub compare_twofiles ($$) { open FILE1, $file1; binmode FILE1; - my $data1 = ; + my $data1 = join ('', ); close FILE1; my $hash1 = md5($data1); open FILE2, $file2; binmode FILE2; - my $data2 = ; + my $data2 = join ('', ); close FILE2; my $hash2 = md5($data2);