Bug #794
- Corrected typo and missing ; for Solaris builds. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
e4c173771f
commit
8fbce0288e
@@ -120,7 +120,8 @@
|
|||||||
Clarke).
|
Clarke).
|
||||||
+ Fixed bug #788, which reported regex and readline versions, even though they
|
+ Fixed bug #788, which reported regex and readline versions, even though they
|
||||||
are not used.
|
are not used.
|
||||||
+ Fixed bug #792, so that cmake now recognizes Solaris (thanks to Owen Clarke).
|
+ Fixed bug #792 & #794, so that cmake now recognizes Solaris (thanks to Owen
|
||||||
|
Clarke).
|
||||||
|
|
||||||
# Untracked Bugs, biggest first.
|
# Untracked Bugs, biggest first.
|
||||||
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ const std::string DOM::get (const std::string& name)
|
|||||||
#elif defined (LINUX)
|
#elif defined (LINUX)
|
||||||
return /*_cache[name] =*/ "Linux";
|
return /*_cache[name] =*/ "Linux";
|
||||||
#else
|
#else
|
||||||
return /*_cache[name] =*/ STRING_DOM_UNKNOWN
|
return /*_cache[name] =*/ STRING_DOM_UNKNOWN;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ bool Directory::remove_directory (const std::string& dir)
|
|||||||
struct stat s;
|
struct stat s;
|
||||||
stat (de->d_name, &s);
|
stat (de->d_name, &s);
|
||||||
if (s.st_mode & S_IFDIR)
|
if (s.st_mode & S_IFDIR)
|
||||||
remove_directory (dir + "/" + de->de_name);
|
remove_directory (dir + "/" + de->d_name);
|
||||||
else
|
else
|
||||||
unlink ((dir + "/" + de->d_name).c_str ());
|
unlink ((dir + "/" + de->d_name).c_str ());
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user