KWSys 2015-10-06 (d79801bb)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ d79801bb | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 2089567a..d79801bb Brad King (1): e56e3292 Encoding: Support building on Windows with WIN32_LEAN_AND_MEAN Terrell Russell (1): d79801bb SystemTools: Fix spelling of "succeeded" in comments
This commit is contained in:
parent
cc144ebfd8
commit
bca7325213
|
@ -38,6 +38,7 @@
|
||||||
// Windows API.
|
// Windows API.
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
|
# include <shellapi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace KWSYS_NAMESPACE
|
namespace KWSYS_NAMESPACE
|
||||||
|
|
|
@ -703,13 +703,13 @@ public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a symbolic link if the platform supports it. Returns whether
|
* Create a symbolic link if the platform supports it. Returns whether
|
||||||
* creation succeded.
|
* creation succeeded.
|
||||||
*/
|
*/
|
||||||
static bool CreateSymlink(const std::string& origName, const std::string& newName);
|
static bool CreateSymlink(const std::string& origName, const std::string& newName);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read the contents of a symbolic link. Returns whether reading
|
* Read the contents of a symbolic link. Returns whether reading
|
||||||
* succeded.
|
* succeeded.
|
||||||
*/
|
*/
|
||||||
static bool ReadSymlink(const std::string& newName, std::string& origName);
|
static bool ReadSymlink(const std::string& newName, std::string& origName);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue