WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@Cordain
Copy link

@Cordain Cordain commented Dec 4, 2025

My attempt to build the build script with cc nob.c -o build && ./build ended up with
[ERROR] Could not check if file ./build/build.conf exists: Not a directory
This encounter is odd for fresh builds, since there is no chance of having build directory anyway.

To mitigate this ambiguity, I propose an additional check if errno is ENOTDIR, so a file build will not be confused with directory of old configuration scheme.

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

Successfully merging this pull request may close these issues.

1 participant