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.

@rexim rexim mentioned this pull request Jan 5, 2026
@rexim rexim closed this in #181 Jan 5, 2026
@rexim
Copy link
Member

rexim commented Jan 5, 2026

Should be fixed at 1923a76

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.

2 participants