Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_current_dir_name not supported on Mac (Commit #5e6ceeb) #340

Open
jtamir opened this issue Oct 7, 2024 · 2 comments
Open

get_current_dir_name not supported on Mac (Commit #5e6ceeb) #340

jtamir opened this issue Oct 7, 2024 · 2 comments

Comments

@jtamir
Copy link
Member

jtamir commented Oct 7, 2024

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
Copy link
Member Author

jtamir commented Oct 7, 2024

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));

@schaten
Copy link
Contributor

schaten commented Dec 17, 2024

Hi, this should be fixed with ab1715f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants