From 456bc6a82900eeeb50dd2af76214d2a5ec5ebbb1 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 13 Dec 2007 09:01:35 +0000 Subject: [PATCH] Fix copy&paste error. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22120 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ConverterCache.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ConverterCache.cpp b/src/ConverterCache.cpp index 41072302cd..41785be3ee 100644 --- a/src/ConverterCache.cpp +++ b/src/ConverterCache.cpp @@ -314,11 +314,9 @@ void ConverterCache::add(FileName const & orig_from, string const & to_format, } else { CacheItem new_item(orig_from, to_format, timestamp, orig_from.checksum()); - // FIXME: The original code used to chmod the new file to 600. - // See SpecialisedMover::do_copy(). if (mover.copy(converted_file, new_item.cache_name, onlyFilename(new_item.cache_name.absFilename()))) { - if (!changeMode(item->cache_name, 0600)) { + if (!changeMode(new_item.cache_name, 0600)) { LYXERR(Debug::FILES, "Could not change file mode" << item->cache_name); } -- 2.39.2