Correctly test for absolute path
commit4a66a6c4c236827c3ea89c75f908bf8019b3758c
authorDmitry Kakurin <dmitry.kakurin@gmail.com>
Sat, 4 Aug 2007 11:38:13 +0000 (4 04:38 -0700)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 6 Aug 2007 22:18:56 +0000 (6 23:18 +0100)
tree37947193b1575b2d4be600c5b36d7cbc0ef8f4ea
parentef5af72062ef0e0c0b5d8a7a3dda89b0609050bc
Correctly test for absolute path

This fix (while correct) actually avoids another nasty bug that must be fixed later:
environment.c caches results of many getenv calls.
Under MinGW setenv(X) invalidates all previous values returned by getenv(X)
so cached values become dangling pointers.

Signed-off-by: Dmitry Kakurin <Dmitry.Kakurin@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
setup.c