freebsd-ports/www/webglimpse/files/patch-addsearch

28 lines
1.1 KiB
Text
Raw Normal View History

2009-07-08 04:35:36 +02:00
--- ./addsearch.orig 1998-07-01 19:02:53.000000000 -0400
+++ ./addsearch 2009-07-07 22:30:26.558090161 -0400
1998-11-02 21:04:30 +01:00
@@ -121,12 +121,12 @@
# Initialize variables to avoid warnings
($title, $archiveurl, $traverse_type, $explicit_only, $numhops,
- $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem) =
- ('','','','','','','','','','','');
+ $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset) =
+ ('','','','','','','','','','','','','');
($title, $archiveurl, $traverse_type, $explicit_only, $numhops,
- $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, @urllist) = ReadConfig($archivepwd);
+ $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset, @urllist) = ReadConfig($archivepwd);
### HUH? What does this code do? Can we remove it?
### here just in case.
@@ -155,7 +155,7 @@
# if we don't have to addboxes, just abort!
if($addboxes==0) {
- print "No search boxes used\n";
+ print "No search boxes used\n" if (!$quiet);
exit(0);
}