I had some file system dialogs that worked like a charm in version 1.34.1.

Now they don't seem o work anymore in version 1.35.7.

I think (but *I'm not 100% sure about it*) that:

static void GetAbsolutePath(const char *path, char *rv)  {
        rv[0]='\0';
        if (!path || strlen(path)==0) realpath("./", rv);
        else realpath(path, rv);
}

char absolutePath[PATH_MAX];

GetAbsolutePath("./",absolutePath);

// absolutePath == "/" in version 1.34.1 (ok for me, absolutePath exists)
// absolutePath == "" in version 1.35.7  (failed, absolutePath does not 
exist)


Can you please confirm this ?

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to