* lib/libmes.c (_ungetc_fd): New variable. (fdgetc): Use it. (_fdungetc_p): New function. * lib/libc+tcc.c (_fungetc_p): New function. * lib/libc+tcc.c (fread): Use it to read ungetc'd chars too.
* TODO
* lib/x86-mes: Move from stage0. * build-aux/build-cc.sh: Create libraries in lib/gcc. Update users. * build-aux/build-mes.sh: Create libraries in lib/x86-mes. Update users. * build-aux/build-mes-gcc.sh: Rename from build-mlibc.sh. Create libraries in lib/x86-mes-gcc. Update callers. * build-aux/cc-mes-gcc.sh: Rename from cc-mlibc.sh. Update callers.