diff common/portpath.c @ 165:d47de01d6ad7

Implemented port_realpath for windows.
author Sascha Wilde <wilde@intevation.de>
date Tue, 25 Mar 2014 12:25:39 +0100
parents 6d64d7e9fa32
children 199878f09bf1
line wrap: on
line diff
--- a/common/portpath.c	Tue Mar 25 12:01:26 2014 +0100
+++ b/common/portpath.c	Tue Mar 25 12:25:39 2014 +0100
@@ -28,7 +28,6 @@
 #ifndef _WIN32
   return realpath(path, NULL);
 #else
-  fprintf(stderr, "Windows Suport missing!");
-  abort();
+  return _fullpath(NULL, path, 0);
 #endif
 }

http://wald.intevation.org/projects/trustbridge/