diff options
Diffstat (limited to 'chat/vicq/patches/patch-ab')
-rw-r--r-- | chat/vicq/patches/patch-ab | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/chat/vicq/patches/patch-ab b/chat/vicq/patches/patch-ab new file mode 100644 index 00000000000..5ea19636a55 --- /dev/null +++ b/chat/vicq/patches/patch-ab @@ -0,0 +1,31 @@ +$NetBSD: patch-ab,v 1.1 2002/05/07 14:11:59 jdolecek Exp $ + +--- vicq.orig Tue May 7 15:59:52 2002 ++++ vicq Tue May 7 16:01:36 2002 +@@ -2011,7 +2011,7 @@ + $config{log_path} = expand_file($config{log_path}); + $config{log_path}.='/' unless $config{log_path}=~/\/$/; + }else{ +- $config{log_path}="$ENV{HOME}/.vicq/history/"; ++ $config{log_path}="$ENV{HOME}/.vicq/history"; + } + unless( -e $config{log_path} || $config{log_path} eq $ENV{HOME}) + { +@@ -2495,7 +2495,7 @@ + $uin =~ s/\033\[.m//g; + + my $fname=($config{log_type}=~/a/)?'vicq.log':"$uin.log"; +- open LOG,">> $config{log_path}$fname" or warn "Can't open file $config{log_path}$fname"; ++ open LOG,">> $config{log_path}/$fname" or warn "Can't open file $config{log_path}/$fname"; + print LOG "--[$format $now_string\n"; + print LOG $message; + print LOG "\n" if $config{log_type}=~/n/; +@@ -2836,7 +2836,7 @@ + my $pager = $ENV{'PAGER'} || 'less -R'; + my $home = $ENV{HOME}; + my $fname=($config{log_type}=~/a/)?'vicq.log':"$uin.log"; +- if(!(open LOG,"< $config{log_path}$fname")) ++ if(!(open LOG,"< $config{log_path}/$fname")) + { + print "No history file for $uin\n"; + return; |