don't crash when CanonicalizePath removes all path components
authorEvan Martin <martine@danga.com>
Sat, 4 Feb 2012 22:14:04 +0000 (14:14 -0800)
committerEvan Martin <martine@danga.com>
Sat, 4 Feb 2012 22:14:04 +0000 (14:14 -0800)
commite9087f5cdf2c8485b5b0a6858782bb02dbffbcdd
treee912ce9b60f0400d33825cdde127848db95813de
parent06315b1e2e2db9ba5dbb1d4ecf91344846c0de3a
don't crash when CanonicalizePath removes all path components

From a patch from Peter Kuemmel <syntheticpp@gmx.net>.
src/util.cc
src/util_test.cc