summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-05 13:23:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-05 13:23:58 +0200
commitdaa67997058b3387f55c69b5a67eb853b3d8a6e1 (patch)
tree710db034e561e6598e238377e463eb4498c8354c
parent5a42f6b29fa46307c4b98e6f1fe1e4d1bf367fdc (diff)
downloadvdr-daa67997058b3387f55c69b5a67eb853b3d8a6e1.tar.gz
vdr-daa67997058b3387f55c69b5a67eb853b3d8a6e1.tar.bz2
Making sure any floating point numbers written use a decimal point
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY3
-rw-r--r--vdr.c3
3 files changed, 7 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 7dd1ed7e..38bc7734 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -664,6 +664,8 @@ Oliver Endriss <o.endriss@gmx.de>
DVB cards
for improving the firmware of FF DVB cards to allow getting the current STC value
even in trick modes
+ for pointing out a problem with the decimal point of the F record in the info file of
+ a recording
Reinhard Walter Buchner <rw.buchner@freenet.de>
for adding some satellites to 'sources.conf'
diff --git a/HISTORY b/HISTORY
index 0df948e1..2fb8ca75 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6021,3 +6021,6 @@ Video Disk Recorder Revision History
- Fixed the 'VideoOnly' condition in the PlayPes() and PlayTs() calls in
cDvbPlayer::Action() (thanks to Reinhard Nissl).
- cDevice::PlayTs() now plays as many TS packets as possible in one call.
+- Making sure any floating point numbers written use a decimal point (thanks to
+ Oliver Endriss for pointing out a problem with the F record in the info file of
+ a recording).
diff --git a/vdr.c b/vdr.c
index 5f2f88e3..36942a51 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 2.6 2009/03/27 15:54:05 kls Exp $
+ * $Id: vdr.c 2.7 2009/04/05 13:21:46 kls Exp $
*/
#include <getopt.h>
@@ -534,6 +534,7 @@ int main(int argc, char *argv[])
isyslog("codeset is '%s' - %s", CodeSet, known ? "known" : "unknown");
cCharSetConv::SetSystemCharacterTable(CodeSet);
}
+ setlocale(LC_NUMERIC, "C"); // makes sure any floating point numbers written use a decimal point
// Initialize internationalization: