From: Chris Tallon Date: Wed, 2 Apr 2008 17:22:19 +0000 (+0000) Subject: Fix for moving recordings X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=ac1fb3067bcd480e67c5a52b23701ca9de619152;p=vompclient-marten.git Fix for moving recordings --- diff --git a/GNUmakefile b/GNUmakefile index 0708de1..11c6f94 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -46,8 +46,8 @@ install-wmp: cp vompclient /diskless/nfs/wmvp install-dev: - rm -f /mnt/diskless/nfs/mvp-dev/vompclient - cp vompclient /mnt/diskless/nfs/mvp-dev + rm -f /mnt/auto/defiant/diskless/nfs/mvp-dev/vompclient + cp vompclient /mnt/auto/defiant/diskless/nfs/mvp-dev debug: ../../gdb/gdb-6.7/gdb/gdb /diskless/nfs/mvp/vompclient /diskless/nfs/mvp/core.* diff --git a/recman.cc b/recman.cc index b709101..a73bb88 100644 --- a/recman.cc +++ b/recman.cc @@ -154,14 +154,14 @@ void RecMan::constructPath(char* target, Directory* dir) { constructPath(target, dir->parent); strcat(target, dir->name); - strcat(target, "/"); + strcat(target, "~"); } } int RecMan::moveRecording(Recording* toMove, Directory* toDir) { char newPath[PATH_MAX]; - strcpy(newPath, "/"); + strcpy(newPath, "~"); constructPath(&newPath[1], toDir); int success = 0;