mirror of
https://github.com/depp/syncfiles.git
synced 2024-11-22 03:30:57 +00:00
910039b77a
The previous implementation read the entire file into memory and then processed it. This version uses reasonably-sized buffers and can handle files of any size. Since this new conversion code is a bit more complicated, a test suite has been added which can be run on ordinary Unix systems. GitOrigin-RevId: acc7be277103fad1da2d0ca16d1a84be11802fbf
5 lines
149 B
Bash
5 lines
149 B
Bash
set -e
|
|
CFLAGS="-O0 -g -Wall -Wextra -Wstrict-prototypes"
|
|
cc -o convert_test $CFLAGS convert_test.c mac_to_unix.c mac_from_unix.c
|
|
exec ./convert_test
|