summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-07 11:00:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-07 11:00:35 +0200
commitb8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e (patch)
tree1e1f082b104bbf673f22832144869f44fce0a719 /vdr.c
parentdf15ec5f91b9ffba3055a162235e67dbb9bdebe5 (diff)
downloadvdr-b8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e.tar.gz
vdr-b8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e.tar.bz2
Sorting recordings internally, with episodes sorted chronologically
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 804d3637..3df728bd 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,11 +22,12 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.81 2001/09/30 12:13:38 kls Exp $
+ * $Id: vdr.c 1.82 2001/10/07 10:28:32 kls Exp $
*/
#define _GNU_SOURCE
#include <getopt.h>
+#include <locale.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
@@ -75,6 +76,10 @@ static void Watchdog(int signum)
int main(int argc, char *argv[])
{
+ // Initiate locale:
+
+ setlocale(LC_ALL, "");
+
// Command line options:
#define DEFAULTSVDRPPORT 2001