summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-01-13 12:17:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-01-13 12:17:30 +0100
commit35343eaf47f46950012b5c4d9b3c2de1fe1d164e (patch)
treedfae7215d76b3804b367823b3f486b1c41bd2495 /tools.c
parenta7404879aaf06c74f1ea6cc94710b2cc187a8002 (diff)
downloadvdr-35343eaf47f46950012b5c4d9b3c2de1fe1d164e.tar.gz
vdr-35343eaf47f46950012b5c4d9b3c2de1fe1d164e.tar.bz2
Fixed a problem with recordings that have a single quote character in their name (this is now mapped to 0x01)
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.c b/tools.c
index f29dc004..1caaa9fd 100644
--- a/tools.c
+++ b/tools.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.c 1.25 2000/12/24 12:38:22 kls Exp $
+ * $Id: tools.c 1.26 2001/01/13 12:17:30 kls Exp $
*/
#define _GNU_SOURCE
@@ -120,7 +120,7 @@ const char *AddDirectory(const char *DirName, const char *FileName)
return buf;
}
-#define DFCMD "df -m %s"
+#define DFCMD "df -m '%s'"
uint FreeDiskSpaceMB(const char *Directory)
{