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:
parent
be90134ebe
commit
4f8fde9eb5
2 changed files with 58 additions and 51 deletions
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
CFLAGS = -lm
|
||||
|
||||
build:
|
||||
cc ./main.c $(CFLAGS) -o ./cube
|
||||
cc ./main.c $(CFLAGS) -DVBUF -o ./cube
|
||||
|
||||
run: build
|
||||
./cube
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue