bart icon indicating copy to clipboard operation
bart copied to clipboard

get_current_dir_name not supported on Mac (Commit #5e6ceeb)

Open jtamir opened this issue 1 year ago • 1 comments

Commit #5e6ceeb broken on Mac, get_current_dir_name not supported https://github.com/mrirecon/bart/blob/master/src/misc/mmio.c#L710

Alternative: getcwd

jtamir avatar Oct 07 '24 00:10 jtamir

This works but I don't write any C code any more so I don't know what your preference is for defining a certain size:

char dir[256];
getcwd(dir, sizeof(dir));

jtamir avatar Oct 07 '24 01:10 jtamir

Hi, this should be fixed with ab1715f.

schaten avatar Dec 17 '24 10:12 schaten