projects
/
breezed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cad86f9
)
Cosmestics.
author
Francois Fleuret
<francois@fleuret.org>
Sun, 26 Apr 2009 20:19:34 +0000
(22:19 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Sun, 26 Apr 2009 20:19:34 +0000
(22:19 +0200)
breezed.cc
patch
|
blob
|
history
diff --git
a/breezed.cc
b/breezed.cc
index
431cde3
..
4f2302d
100644
(file)
--- a/
breezed.cc
+++ b/
breezed.cc
@@
-3,7
+3,7
@@
breezed is a fan speed control daemon for Linux computers.
breezed is a fan speed control daemon for Linux computers.
- Copyright (c) 2008 Francois Fleuret
+ Copyright (c) 2008
, 2009
Francois Fleuret
Written by Francois Fleuret <francois@fleuret.org>
This file is part of breezed.
Written by Francois Fleuret <francois@fleuret.org>
This file is part of breezed.
@@
-37,7
+37,7
@@
using namespace std;
const int major_version_number = 1;
using namespace std;
const int major_version_number = 1;
-const int minor_version_number =
0
;
+const int minor_version_number =
2
;
const int buffer_size = 1024;
const int buffer_size = 1024;
@@
-321,6
+321,7
@@
Written by Francois Fleuret (francois@fleuret.org).\n";
if(configuration_file) {
ifstream cf(configuration_file);
if(configuration_file) {
ifstream cf(configuration_file);
+
if(cf.fail()) {
cerr << "Can not open " << configuration_file << " for reading." << endl;
exit(1);
if(cf.fail()) {
cerr << "Can not open " << configuration_file << " for reading." << endl;
exit(1);