Reverting fix
Tous les contrôles ont réussi
The build was successful.

I am reverting fix, because it de facto breaks the code. Using get_included_files() before this commit causes segmentation fault.
Cette révision appartient à :
Piotr Likoski 2018-08-18 15:33:17 +02:00
Parent 910cf9646a
révision 32dde87853
Signature inconnue de Gitea
ID de la clé GPG: D9556DDD74910B18

Voir le fichier

@ -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;
}