Comment
Comment by dreamcompiler
This explains something I ran into recently. I stick with older versions of macOS for a variety of reasons, and El Capitan cannot rename or delete a file that has a NUL character in its name. Earlier versions of macOS could do so. This implies they rewrote the unlink function and made a rookie C programmer mistake in the process. Why rewrite unlink? The mind boggles.