fullpath() is bugged on MacOS
Reported by Paul BIGNIER
On MacOS, master branch:
--> fullpath(TMPDIR) // OK, although why adding the "private"?
ans =
/private/tmp/SCI_TMP_17745_cMB4RR
--> fullpath(TMPDIR+"/") // Same, OK
ans =
/private/tmp/SCI_TMP_17745_cMB4RR
--> fullpath(TMPDIR+"/api_c") // KO, the "SCI_TMP..." is repeated
ans =
/private/tmp/SCI_TMP_17745_cMB4RR/api_c/SCI_TMP_17745_cMB4RR/api_c
--> fullpath(TMPDIR+"/api_c/safe") // KO as well
ans =
/private/tmp/SCI_TMP_17745_cMB4RR/api_c/SCI_TMP_17745_cMB4RR/api_c/safe
This crashes api_scilab's boolean_test.tst and several others.
Regards,
Paul