From ac1fb3067bcd480e67c5a52b23701ca9de619152 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Wed, 2 Apr 2008 17:22:19 +0000 Subject: [PATCH] Fix for moving recordings --- GNUmakefile | 4 ++-- recman.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.39.5