/[packages]/cauldron/apcupsd/current/SOURCES/apcupsd-3.14.12-default-host.patch
ViewVC logotype

Contents of /cauldron/apcupsd/current/SOURCES/apcupsd-3.14.12-default-host.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 670323 - (show annotations) (download)
Mon Sep 1 02:35:52 2014 UTC (9 years, 7 months ago) by luigiwalser
File size: 359 byte(s)
- 3.14.12
- remove upstreamed patches
- specifiy lock dir at build time
- fix upstream bug in init script
- fix upstream bug in apcaccess when host is not specified
- do not install hal policy file

1 --- apcupsd-3.14.12/src/apcaccess.c~ 2014-03-28 22:51:54.000000000 -0400
2 +++ apcupsd-3.14.12/src/apcaccess.c 2014-08-31 22:27:35.772380363 -0400
3 @@ -205,7 +205,7 @@ int main(int argc, char **argv)
4 host = argv[optind + 1];
5
6 // If still no host, use default
7 - if (!host)
8 + if (!*host)
9 host = DEFAULT_HOST;
10
11 // Separate host and port

  ViewVC Help
Powered by ViewVC 1.1.30