Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CMake
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
lukka
CMake
Commits
98d48469
Commit
98d48469
authored
Mar 14, 2019
by
Sebastian Holtermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename cmFileTimeCache::FileTimesDiffer to cmFileTimeCache::DifferS
parent
a6d75a1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
Source/cmFileCopier.cxx
Source/cmFileCopier.cxx
+1
-1
Source/cmFileTimeCache.cxx
Source/cmFileTimeCache.cxx
+1
-2
Source/cmFileTimeCache.h
Source/cmFileTimeCache.h
+1
-1
No files found.
Source/cmFileCopier.cxx
View file @
98d48469
...
...
@@ -532,7 +532,7 @@ bool cmFileCopier::InstallFile(const std::string& fromFile,
bool
copy
=
true
;
if
(
!
this
->
Always
)
{
// If both files exist with the same time do not copy.
if
(
!
this
->
FileTimes
.
FileTimesDiffer
(
fromFile
,
toFile
))
{
if
(
!
this
->
FileTimes
.
DifferS
(
fromFile
,
toFile
))
{
copy
=
false
;
}
}
...
...
Source/cmFileTimeCache.cxx
View file @
98d48469
...
...
@@ -44,8 +44,7 @@ bool cmFileTimeCache::FileTimeCompare(std::string const& f1,
return
false
;
}
bool
cmFileTimeCache
::
FileTimesDiffer
(
std
::
string
const
&
f1
,
std
::
string
const
&
f2
)
bool
cmFileTimeCache
::
DifferS
(
std
::
string
const
&
f1
,
std
::
string
const
&
f2
)
{
// Get the modification time for each file.
cmFileTime
ft1
,
ft2
;
...
...
Source/cmFileTimeCache.h
View file @
98d48469
...
...
@@ -42,7 +42,7 @@ public:
* @return true unless both files exist and have modification times less
* than 1 second apart.
*/
bool
FileTimesDiffer
(
std
::
string
const
&
f1
,
std
::
string
const
&
f2
);
bool
DifferS
(
std
::
string
const
&
f1
,
std
::
string
const
&
f2
);
private:
typedef
std
::
unordered_map
<
std
::
string
,
cmFileTime
>
FileTimeMap
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment