Sorry about the blank.  Thanks for the fix.  It works fine now.

Wesley

[EMAIL PROTECTED] wrote:
> Author: efocht
> Date: 2006-06-29 17:46:11 -0400 (Thu, 29 Jun 2006)
> New Revision: 5081
>
> Modified:
>    trunk/lib/OSCAR/Configbox.pm
> Log:
> Added {} around the $values{$key} variable to avoid nasty error message under 
> fc5.
> Defined $context as "" if undefined to reduce number of warnings on 
> unintialized strings.
>
>
> Modified: trunk/lib/OSCAR/Configbox.pm
> ===================================================================
> --- trunk/lib/OSCAR/Configbox.pm      2006-06-29 21:33:45 UTC (rev 5080)
> +++ trunk/lib/OSCAR/Configbox.pm      2006-06-29 21:46:11 UTC (rev 5081)
> @@ -259,6 +259,7 @@
>  {
>    my ($conffile, $opkg, $context, %sel) = @_;
>  
> +  $context = "" if ! $context;
>    my @res = &get_pkgconfig_vars(opkg => "$opkg", context => "$context");
>    if ([EMAIL PROTECTED]) {
>        &defaultConfigToDB($conffile, $opkg, $context);
> @@ -269,7 +270,7 @@
>  
>    if (exists($sel{noarray})) {
>        for my $k (keys(%values)) {
> -       if (scalar(@$values{$k}) <= 1) {
> +       if (scalar(@{$values{$k}}) <= 1) {
>             $values{$k} = $values{$k}[0];
>         }
>        }
> @@ -677,6 +678,7 @@
>    $packagedir = shift;
>    my $opkg = shift;
>    my $context = shift;
> +  $context = "" if ! $context;
>  
>    $my_opkg = $opkg;
>    $my_context = $context;
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Oscar-checkins mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/oscar-checkins
>   

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to