fix path max in realpath on unix (pr #69)

This commit is contained in:
daan 2019-07-08 17:43:10 -07:00
parent 8203f3dcfa
commit 76023ca45f
2 changed files with 27 additions and 7 deletions

View file

@ -139,6 +139,15 @@ int main() {
CHECK("heap_destroy", test_heap1());
CHECK("heap_delete", test_heap2());
// ---------------------------------------------------
// various
// ---------------------------------------------------
CHECK_BODY("realpath", {
char* s = mi_realpath( ".", NULL );
// printf("realpath: %s\n",s);
mi_free(s);
});
// ---------------------------------------------------
// Done
// ---------------------------------------------------[]