Fix misidentification of dot in path name
authorRoland Schulz <roland@utk.edu>
Thu, 9 Oct 2014 01:20:47 +0000 (21:20 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 12 Oct 2014 13:17:25 +0000 (15:17 +0200)
commit6b359ba8c0025d16168da1af4e5479b6a5e2858f
tree1807f06fd0a664f5215e2be445cca69c2ba0d08e
parent2d8ac239ee2a4fc0aa7211f830c1d2d079c5fc28
Fix misidentification of dot in path name

Commit df876d6c7b5 added support for custom default extensions
but it didn't work correctly for directory names containing dots.

Change-Id: I427f694a36496bd8a6f59e3083feb5b8269a62c4
src/gromacs/commandline/pargs.cpp
src/gromacs/utility/path.cpp
src/gromacs/utility/path.h