Hi MUSLers,
Possible bug report? I’m not on your DL, but would like to hear back if you find this helpful.
I’m working on an internal corporate application using Docker and Alpine. Under normal Fedora my app calls closedir(NULL) and a -1 is returned. Under MUSL, it segfaults. I’m changing the code to not call
closedir() with a null pointer, but I’m not certain segfaults are considered Working As Designed.
http://man7.org/linux/man-pages/man3/closedir.3.html
Thank you,
Judah