Reverting fix
The build was successful. Details

I am reverting fix, because it de facto breaks the code. Using get_included_files() before this commit causes segmentation fault.
This commit is contained in:
Piotr Likoski 2018-08-18 15:33:17 +02:00
parent 910cf9646a
commit 32dde87853
Signed by: likoski
GPG Key ID: D9556DDD74910B18
1 changed files with 2 additions and 2 deletions

View File

@ -634,9 +634,9 @@ PH7_PRIVATE sxi32 SyStrToReal(const char *zSrc, sxu32 nLen, void *pOutVal, const
}
PH7_PRIVATE sxi32 SyRealPath(const char *zPath, char **fPath) {
#ifdef __WINNT__
if(GetFullPathName(zPath, PATH_MAX, *fPath, NULL) != 0) {
if(GetFullPathName(zPath, PATH_MAX, fPath, NULL) != 0) {
#else
if(realpath(zPath, *fPath) == NULL) {
if(realpath(zPath, fPath) == NULL) {
#endif
return PH7_IO_ERR;
}