1
0
Fork 0
arangodb/lib/Basics
Wilfried Goesgens 629f1f9695 Fix windows path handling not to slip into UNC lookup (#10073) (#10085)
* Fix windows path handling not to slip into UNC lookup (#10073)

* make sure that we don't get more than one leading directory separator in front of the path, so windows doesn't mistakenly look it up as a UNC.

* make sure we don't build paths that start with two \'s

* fix condition
2019-10-09 18:37:21 +03:00
..
ArangoGlobalContext.cpp big reformat 2018-12-26 00:57:05 +01:00
ArangoGlobalContext.h big reformat 2018-12-26 00:57:05 +01:00
AssocHelpers.h cleaned up macros a bit 2017-01-25 17:50:23 +01:00
AssocMulti.h big reformat 2018-12-26 00:57:05 +01:00
AssocMultiHelpers.h big reformat 2018-12-26 00:57:05 +01:00
AssocUnique.h big reformat 2018-12-26 00:57:05 +01:00
AssocUniqueHelpers.h big reformat 2018-12-26 00:57:05 +01:00
AttributeNameParser.cpp big reformat 2018-12-26 00:57:05 +01:00
AttributeNameParser.h big reformat 2018-12-26 00:57:05 +01:00
CleanupFunctions.cpp Bug fix/lock file cleanup (#5960) 2018-07-24 09:43:15 +02:00
CleanupFunctions.h big reformat 2018-12-26 00:57:05 +01:00
Common.h Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
ConditionLocker.cpp big reformat 2018-12-26 00:57:05 +01:00
ConditionLocker.h big reformat 2018-12-26 00:57:05 +01:00
ConditionVariable.cpp Bug fix/meierloch (#5895) 2018-07-17 11:39:50 +02:00
ConditionVariable.h big reformat 2018-12-26 00:57:05 +01:00
ConditionalDeleter.h big reformat 2018-12-26 00:57:05 +01:00
DataProtector.cpp ASAN runtime errors 2017-04-28 11:57:20 +02:00
DataProtector.h big reformat 2018-12-26 00:57:05 +01:00
DeadlockDetector.h big reformat 2018-12-26 00:57:05 +01:00
Endian.h big reformat 2018-12-26 00:57:05 +01:00
EnumIterator.h big reformat 2018-12-26 00:57:05 +01:00
Exceptions.cpp big reformat 2018-12-26 00:57:05 +01:00
Exceptions.h big reformat 2018-12-26 00:57:05 +01:00
FileResult.h big reformat 2018-12-26 00:57:05 +01:00
FileResultString.h big reformat 2018-12-26 00:57:05 +01:00
FileUtils.cpp Fix windows path handling not to slip into UNC lookup (#10073) (#10085) 2019-10-09 18:37:21 +03:00
FileUtils.h big reformat 2018-12-26 00:57:05 +01:00
FixedSizeAllocator.h big reformat 2018-12-26 00:57:05 +01:00
FloatingPoint.h big reformat 2018-12-26 00:57:05 +01:00
HybridLogicalClock.cpp big reformat 2018-12-26 00:57:05 +01:00
HybridLogicalClock.h big reformat 2018-12-26 00:57:05 +01:00
IndexBucket.h big reformat 2018-12-26 00:57:05 +01:00
LdapUrlParser.cpp big reformat 2018-12-26 00:57:05 +01:00
LdapUrlParser.h big reformat 2018-12-26 00:57:05 +01:00
LocalTaskQueue.cpp Bug fix 3.4/scheduler empty reformat (#7872) 2019-01-08 20:39:42 +01:00
LocalTaskQueue.h Bug fix 3.4/scheduler empty reformat (#7872) 2019-01-08 20:39:42 +01:00
Locking.h big reformat 2018-12-26 00:57:05 +01:00
LruCache.h big reformat 2018-12-26 00:57:05 +01:00
Mutex.cpp Changes for libmusl compilation. (#4294) 2018-01-16 09:22:45 +01:00
Mutex.h big reformat 2018-12-26 00:57:05 +01:00
MutexLocker.h big reformat 2018-12-26 00:57:05 +01:00
MutexUnlocker.h big reformat 2018-12-26 00:57:05 +01:00
Nonce.cpp big reformat 2018-12-26 00:57:05 +01:00
Nonce.h big reformat 2018-12-26 00:57:05 +01:00
NumberUtils.h big reformat 2018-12-26 00:57:05 +01:00
OpenFilesTracker.cpp big reformat 2018-12-26 00:57:05 +01:00
OpenFilesTracker.h big reformat 2018-12-26 00:57:05 +01:00
PerformanceLogScope.h big reformat 2018-12-26 00:57:05 +01:00
ReadLocker.h big reformat 2018-12-26 00:57:05 +01:00
ReadUnlocker.h big reformat 2018-12-26 00:57:05 +01:00
ReadWriteLock.cpp big reformat 2018-12-26 00:57:05 +01:00
ReadWriteLock.h big reformat 2018-12-26 00:57:05 +01:00
ReadWriteSpinLock.h big reformat 2018-12-26 00:57:05 +01:00
Result.cpp big reformat 2018-12-26 00:57:05 +01:00
Result.h Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
RocksDBLogger.cpp big reformat 2018-12-26 00:57:05 +01:00
RocksDBLogger.h big reformat 2018-12-26 00:57:05 +01:00
RocksDBUtils.cpp handle incomplete reads (#9019) 2019-05-17 11:17:51 +02:00
RocksDBUtils.h big reformat 2018-12-26 00:57:05 +01:00
RollingVector.h big reformat 2018-12-26 00:57:05 +01:00
SameThreadAsserter.h big reformat 2018-12-26 00:57:05 +01:00
ScopeGuard.h big reformat 2018-12-26 00:57:05 +01:00
SharedAtomic.h big reformat 2018-12-26 00:57:05 +01:00
SharedCounter.h big reformat 2018-12-26 00:57:05 +01:00
SharedPRNG.cpp big reformat 2018-12-26 00:57:05 +01:00
SharedPRNG.h big reformat 2018-12-26 00:57:05 +01:00
SmallVector.h do not simplify non-deterministic conditions (#7927) 2019-01-19 18:52:17 +01:00
StaticStrings.cpp Bug fix 3.4/collection babies (#9033) 2019-05-21 08:41:12 +02:00
StaticStrings.h Bug fix 3.4/collection babies (#9033) 2019-05-21 08:41:12 +02:00
StringBuffer.cpp big reformat 2018-12-26 00:57:05 +01:00
StringBuffer.h big reformat 2018-12-26 00:57:05 +01:00
StringHeap.cpp fix the pregel code (#8741) 2019-04-12 10:07:16 +02:00
StringHeap.h fix the pregel code (#8741) 2019-04-12 10:07:16 +02:00
StringRef.cpp big reformat 2018-12-26 00:57:05 +01:00
StringRef.h big reformat 2018-12-26 00:57:05 +01:00
StringUtils.cpp big reformat 2018-12-26 00:57:05 +01:00
StringUtils.h The big supervision fix. (#8243) 2019-02-25 08:12:18 -05:00
Thread.cpp Fix bug in thread creation failure handling. (#8616) 2019-03-28 18:46:00 +01:00
Thread.h big reformat 2018-12-26 00:57:05 +01:00
TimedAction.h big reformat 2018-12-26 00:57:05 +01:00
Utf8Helper.cpp Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
Utf8Helper.h Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
VERSION.in
VPackStringBufferAdapter.h big reformat 2018-12-26 00:57:05 +01:00
VelocyPackDumper.cpp Bug fix 3.4/scheduler empty reformat (#7872) 2019-01-08 20:39:42 +01:00
VelocyPackDumper.h big reformat 2018-12-26 00:57:05 +01:00
VelocyPackHelper.cpp Feature 3.4/improve replication speed (#8268) 2019-02-28 14:37:40 +01:00
VelocyPackHelper.h big reformat 2018-12-26 00:57:05 +01:00
WriteLocker.h big reformat 2018-12-26 00:57:05 +01:00
WriteUnlocker.h big reformat 2018-12-26 00:57:05 +01:00
application-exit.cpp big reformat 2018-12-26 00:57:05 +01:00
application-exit.h
asio_ns.h big reformat 2018-12-26 00:57:05 +01:00
build-date.h.in
build-repository.h.in
build.h.in
conversions.cpp big reformat 2018-12-26 00:57:05 +01:00
conversions.h Bug fix/meierloch (#5895) 2018-07-17 11:39:50 +02:00
cpu-relax.h big reformat 2018-12-26 00:57:05 +01:00
crc1.S
crc4.S
crc5.S Further fixes for libmusl completely static build. (#4474) 2018-02-01 13:38:34 +01:00
csv.cpp big reformat 2018-12-26 00:57:05 +01:00
csv.h big reformat 2018-12-26 00:57:05 +01:00
datetime.cpp Feature/maskings (#8006) 2019-01-28 15:04:23 +01:00
datetime.h Feature/maskings (#8006) 2019-01-28 15:04:23 +01:00
debugging.cpp [3.4] clean up container madness (#8791) 2019-05-23 12:43:39 +02:00
debugging.h [3.4] clean up container madness (#8791) 2019-05-23 12:43:39 +02:00
directories.h.in remove unused defines from directories.h.in (#5407) 2018-05-22 11:32:46 +02:00
encoding.h big reformat 2018-12-26 00:57:05 +01:00
error.cpp big reformat 2018-12-26 00:57:05 +01:00
error.h Bug fix/replication improvements (#5962) 2018-07-25 09:04:50 +02:00
errors.dat [3.4] Feature/rebootid notice changes, backport of #9523 (#9685) 2019-09-19 15:03:39 +03:00
exitcodes.cpp Improve windows installer (#6045) 2018-08-17 12:37:47 +02:00
exitcodes.dat Improve windows installer (#6045) 2018-08-17 12:37:47 +02:00
exitcodes.h Improve windows installer (#6045) 2018-08-17 12:37:47 +02:00
fasthash.cpp big reformat 2018-12-26 00:57:05 +01:00
fasthash.h big reformat 2018-12-26 00:57:05 +01:00
files.cpp Fix windows path handling not to slip into UNC lookup (#10073) (#10085) 2019-10-09 18:37:21 +03:00
files.h Feature 3.4: Use ManagedDirectory class to add gzip and encryption to import/export (#9472) 2019-07-23 14:58:34 -04:00
fpconv.cpp big reformat 2018-12-26 00:57:05 +01:00
fpconv.h
gcd.h big reformat 2018-12-26 00:57:05 +01:00
hashes.cpp add AQL functions CRC32 and FNV64 (#8599) 2019-03-27 21:05:56 +01:00
hashes.h add AQL functions CRC32 and FNV64 (#8599) 2019-03-27 21:05:56 +01:00
json.cpp big reformat 2018-12-26 00:57:05 +01:00
json.h big reformat 2018-12-26 00:57:05 +01:00
levenshtein.cpp
levenshtein.h
locks-posix.cpp big reformat 2018-12-26 00:57:05 +01:00
locks-posix.h Bug fix/meierloch (#5895) 2018-07-17 11:39:50 +02:00
locks-win32.cpp big reformat 2018-12-26 00:57:05 +01:00
locks-win32.h fix warning 2018-07-23 14:59:05 +02:00
locks.h big reformat 2018-12-26 00:57:05 +01:00
make_unique.h big reformat 2018-12-26 00:57:05 +01:00
memory-map-posix.cpp big reformat 2018-12-26 00:57:05 +01:00
memory-map-posix.h big reformat 2018-12-26 00:57:05 +01:00
memory-map-win32.cpp big reformat 2018-12-26 00:57:05 +01:00
memory-map-win32.h do not include our datafiles in core files (#2630) 2017-06-22 12:34:27 +02:00
memory-map.h big reformat 2018-12-26 00:57:05 +01:00
memory.cpp big reformat 2018-12-26 00:57:05 +01:00
memory.h remove now obsolete remainders of memory management functions (#3820) 2017-12-06 18:43:34 +01:00
messages.h Bug fix 3.4/scheduler empty reformat (#7872) 2019-01-08 20:39:42 +01:00
mimetypes.cpp big reformat 2018-12-26 00:57:05 +01:00
mimetypes.dat
mimetypes.h clean up generator code (#4191) 2018-01-02 15:26:06 +01:00
operating-system.h Add more strong references to pthread stuff. (#10046) 2019-09-20 12:40:53 +03:00
powers.h big reformat 2018-12-26 00:57:05 +01:00
prime-numbers.cpp big reformat 2018-12-26 00:57:05 +01:00
prime-numbers.h
process-utils.cpp Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
process-utils.h big reformat 2018-12-26 00:57:05 +01:00
short_alloc.h big reformat 2018-12-26 00:57:05 +01:00
socket-utils.cpp big reformat 2018-12-26 00:57:05 +01:00
socket-utils.h big reformat 2018-12-26 00:57:05 +01:00
splitmix64.h Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
system-compiler.h big reformat 2018-12-26 00:57:05 +01:00
system-functions.cpp big reformat 2018-12-26 00:57:05 +01:00
system-functions.h big reformat 2018-12-26 00:57:05 +01:00
terminal-utils-posix.cpp big reformat 2018-12-26 00:57:05 +01:00
terminal-utils-win32.cpp terminal codes 2017-09-28 22:23:54 +02:00
terminal-utils.cpp big reformat 2018-12-26 00:57:05 +01:00
terminal-utils.h terminal codes 2017-09-28 22:23:54 +02:00
threads-posix.cpp big reformat 2018-12-26 00:57:05 +01:00
threads-posix.h
threads-win32.cpp fix leak in thread shutdown (#9527) 2019-07-22 09:40:04 +02:00
threads-win32.h
threads.h Bug fix/scheduler delete (#3077) 2017-08-25 12:00:17 +02:00
tri-strings.cpp big reformat 2018-12-26 00:57:05 +01:00
tri-strings.h big reformat 2018-12-26 00:57:05 +01:00
tri-zip.cpp big reformat 2018-12-26 00:57:05 +01:00
tri-zip.h big reformat 2018-12-26 00:57:05 +01:00
vector.cpp big reformat 2018-12-26 00:57:05 +01:00
vector.h big reformat 2018-12-26 00:57:05 +01:00
voc-errors.cpp [3.4] Feature/rebootid notice changes, backport of #9523 (#9685) 2019-09-19 15:03:39 +03:00
voc-errors.h [3.4] Feature/rebootid notice changes, backport of #9523 (#9685) 2019-09-19 15:03:39 +03:00
voc-mimetypes.cpp big reformat 2018-12-26 00:57:05 +01:00
voc-mimetypes.h
win-utils.cpp Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
win-utils.h Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
xoroshiro128plus.h Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
xxhash.cpp Bug fix/cleanup after cppcheck (#3639) 2017-11-10 13:53:28 +01:00
xxhash.h