mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
fix path max in realpath on unix (pr #69)
This commit is contained in:
parent
8203f3dcfa
commit
76023ca45f
2 changed files with 27 additions and 7 deletions
|
@ -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
|
||||
// ---------------------------------------------------[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue