/[smeserver]/rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-FixUninitializedValue.patch
ViewVC logotype

Annotation of /rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-FixUninitializedValue.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 18:48:20 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel
2     --- e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel 2007-11-30 12:16:54.000000000 +0000
3     +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel 2007-11-30 12:12:14.000000000 +0000
4     @@ -1,4 +1,6 @@
5     {
6     - my $pool = $DB->get_prop('nut', 'Model');
7     - $DB->set_prop('nut', 'Model', 'usbhid-ups') if ($pool eq 'newhidups');
8     + my $nutmod = $DB->get_prop('nut', 'Model');
9     + return unless $nutmod;
10     + $DB->set_prop('nut', 'Model', 'usbhid-ups') if ($nutmod eq 'newhidups');
11     }
12     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed