Revert d937d0c825
This commit is contained in:
@@ -339,4 +339,4 @@ sxi32 SyAsciiToHex(sxi32 c) {
|
||||
return c;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
@@ -628,15 +628,4 @@ PH7_PRIVATE sxi32 SyStrToReal(const char *zSrc, sxu32 nLen, void *pOutVal, const
|
||||
*(sxreal *)pOutVal = Val;
|
||||
}
|
||||
return zSrc >= zEnd ? SXRET_OK : SXERR_SYNTAX;
|
||||
}
|
||||
|
||||
PH7_PRIVATE sxi32 SyRealpath(const char *zPath, char **fPath) {
|
||||
#ifdef __UNIXES__
|
||||
if(realpath(zPath, fPath) == NULL) {
|
||||
#else
|
||||
if(GetFullPathName(zPath, PATH_MAX, fPath, NULL) != 0) {
|
||||
#endif
|
||||
return PH7_IO_ERR;
|
||||
}
|
||||
return PH7_OK;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user