diff -Naur ddclient-3.6.3/ddclient ddclient-3.6.3.patched/ddclient --- ddclient-3.6.3/ddclient 2003-06-14 19:39:16.000000000 +0200 +++ ddclient-3.6.3.patched/ddclient 2003-09-04 12:25:55.000000000 +0200 @@ -21,6 +21,7 @@ my $now = time; my $hostname = hostname(); my $etc = ($program =~ /test/i) ? './' : '/etc/'; +my $cache = ($program =~ /test/i) ? './' : '/var/cache/'; my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/'; my $msgs = ''; my $last_msgs = ''; @@ -184,7 +185,7 @@ 'global-defaults' => { 'daemon' => setv(T_DELAY, 0, 0, 1, 0, interval('60s')), 'file' => setv(T_FILE, 0, 0, 1, "$etc$program.conf", undef), - 'cache' => setv(T_FILE, 0, 0, 1, "$etc$program.cache", undef), + 'cache' => setv(T_FILE, 0, 0, 1, "$cache$program.cache", undef), 'pid' => setv(T_FILE, 0, 0, 1, "", undef), 'proxy' => setv(T_FQDNP, 0, 0, 1, '', undef), 'protocol' => setv(T_PROTO, 0, 0, 1, 'dyndns2', undef),