Use stat to check that paths are equivalent
commitc584d202e5568b57e503392a10d5fe79180411d5
authorRoland Schulz <roland@utk.edu>
Sat, 8 Nov 2014 16:16:08 +0000 (8 11:16 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 12 Nov 2014 22:00:03 +0000 (12 23:00 +0100)
tree82e0b39f44416bd99158ff02c11de10cf4e054a1
parentf31c4619c4fab9f13740e133e8bdabebf508a40a
Use stat to check that paths are equivalent

Replaces the previous approach of comparing path as string.
The previous approach didn't work reliable on case insenstive filesystems
or with symlinks.

Change-Id: Iee11c172db89b98a26b3592be2f285110a85a632
src/gromacs/commandline/cmdlineprogramcontext.cpp
src/gromacs/utility/exceptions.h
src/gromacs/utility/path.cpp
src/gromacs/utility/path.h