← Back to context

Comment by andrewmcwatters

1 day ago

What in the world are you talking about? This is completely incoherent.

There's literally a POSIX specification at https://pubs.opengroup.org/onlinepubs/9799919799/

Do you seriously not think the people who author Node, et al aren't looking at POSIX, the C Standard Library, Linux, macOS, Windows and moving down the list in that order?

Where do you think all of `node:fs` comes from? Because I sure don't see GetFileAttributesEx there.

Or who could forget good old CreateDirectoryA? I guess Bun didn't get the memo.

Better use CreateDirectoryW instead. Didn't you see that post last week on HN? All the "A" functions are broken and susceptible to attack.