tree.c
3.2 KB
-
Write special EOF at the end of file · b4cad620
If the file has been padded with extra 0's (since file is written in total bytes), there is no way to determine what should be the last value. Implement special 0xFF for this case. This also changes char to unsigned to avoid comparison failure.
Rudolf committed