fix: now working on glibc

fixed a bug were stdin was set to nonblocking and never reset back to blocking.
This caused STDOUT to become nonblock, and for some reason glibc cannot deal
with it, but every other libc could. uh.
This commit is contained in:
violette 2025-05-13 00:48:04 -04:00
parent be90134ebe
commit 4f8fde9eb5
2 changed files with 58 additions and 51 deletions

View file

@ -1,7 +1,7 @@
CFLAGS = -lm
build:
cc ./main.c $(CFLAGS) -o ./cube
cc ./main.c $(CFLAGS) -DVBUF -o ./cube
run: build
./cube