diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-07 11:00:35 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-07 11:00:35 +0200 |
commit | b8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e (patch) | |
tree | 1e1f082b104bbf673f22832144869f44fce0a719 /vdr.c | |
parent | df15ec5f91b9ffba3055a162235e67dbb9bdebe5 (diff) | |
download | vdr-b8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e.tar.gz vdr-b8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e.tar.bz2 |
Sorting recordings internally, with episodes sorted chronologically
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |