From 9343d45e22a2f501afbf27291b86d8e9c4bbe6f9 Mon Sep 17 00:00:00 2001 From: sfb Date: Tue, 12 Feb 2013 12:45:46 -0600 Subject: [PATCH] fixes #16 - forces tool to create an empty file in the root tool directory as a basis for initial patch generation --- code/ryzom/tools/patch_gen/patch_gen_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/patch_gen/patch_gen_common.cpp b/code/ryzom/tools/patch_gen/patch_gen_common.cpp index 90b42ca72..590c0320a 100644 --- a/code/ryzom/tools/patch_gen/patch_gen_common.cpp +++ b/code/ryzom/tools/patch_gen/patch_gen_common.cpp @@ -342,7 +342,7 @@ void CPackageDescription::generatePatches(CBNPFileSet& packageIndex) const std::string prevVersionFileName; if (packageIndex.getFile(i).versionCount()==1) { - prevVersionFileName= tmpnam(NULL); + prevVersionFileName= _RootDirectory + "empty"; NLMISC::COFile tmpFile(prevVersionFileName); tmpFile.close(); }