| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This removes an assignment whose result is never used, thus quieting a
warning from Borland.
|
| |
|
|
|
|
|
|
| |
This teaches ConvertToUnixSlashes to convert VMS paths into posix-style
paths. We also set the DECC$FILENAME_UNIX_ONLY feature so the process
always sees posix-style paths on disk.
|
| |
|
| |
|
|
|
|
|
| |
Read-only directories must be given write permission before we can
remove files and subdirectories from them.
|
|
|
|
| |
bootstrap script will not work on VMS
|
|
|
|
|
| |
This removes SystemTools::FileExistsInParentDirectories from KWSys since
it is a special-purpose method that is not generally useful.
|
|
|
|
|
|
|
|
| |
When SystemTools::GetParentDirectory was fixed to never remove the root
path component from a full path we violated an assumption made by
IsSubDirectory that eventually GetParentDirectory returns an empty
string. This led to an infinite loop if the potential parent directory
is empty, so we explicitly avoid that case.
|
|
|
|
|
|
|
| |
The previous change to this method broke cases where the input path does
not exist. The SystemTools::GetParentDirectory method is redundant with
the more robust SystemTools::GetFilenamePath. This replaces its
implementation to just call GetFilenamePath.
|
|
|
|
| |
argement. Valid check is added to make sure the input argment exists, and if "/" is passed in, empty string will be returned.
|
| |
|
|
|
|
|
|
|
| |
On Windows the GetLongPathName API function does not work on some
filesystems even if the file exists. In this case we should just use
the original long path name and not the GetShortPathName result.
See issue #8480.
|
|
|
|
|
|
| |
This patch from Philip Lowman teaches SystemTools::GetRealPath to deal
with paths that do not exist by dealing with the case that realpath
returns NULL. See issue #8423.
|
|
|
|
| |
rule. If the source file was read-only, this prevents the subsequent set of the destination file's modification time, making the copied file always different in time-stamp than the original and always installing a new file with a new time stamp (but the same content) causing unnecessary downstream incremental rebuilds. As part of this fix, add an optional copyPermissions parameter to the SystemTools routines CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory. The copyPermissions parameter defaults to true to preserve the behavior of these routines for existing callers.
|
| |
|
| |
|
| |
|
|
|
|
| |
See issue #7797.
|
| |
|
|
|
|
|
|
|
| |
- Add an argument to registry read/write/delete methods to specify
a 32-bit or 64-bit view.
- Default is the bit-ness of the running program.
- See issue #7095.
|
|
|
|
| |
char *p, a shadowed variable warning.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
slashes (//) on cygwin looks like a network path and delays while waiting for a non-existent machine.
|
| |
|
|
|
|
| |
use it. Add better treatment of user home directory paths.
|
| |
|
| |
|
|
|
|
| |
in this source.
|
|
|
|
|
|
|
|
| |
1. an "abridged" version that separates protocol from dataglom in
an expression with the form protocol://dataglom
2. a "full" version that parses protocol, username, password,
hostname, port, and path in a standard URL (all of these variables
are optional, except for protocol and hostname).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable
Alex
|
|
|
|
| |
Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded.
|
|
|
|
| |
std::streamsize.
|
| |
|
| |
|
|
|
|
| |
on different windows drive letters do not create a ../../d:/foo/bar path and just return the full path to the destination.
|
| |
|
| |
|
| |
|
|
|
|
| |
Alex
|
|
|
|
| |
Alex
|
|
|
|
|
|
|
| |
hasDoubleSlash is false in most cases, so in most cases 3 comparisons were
done, now only one
Alex
|
|
|
|
| |
changing
|
| |
|
| |
|