(Finsert_file_contents): Declare buffer as unsigned
char. When comparing with file size convert same_at_start to distance to buffer start. If the file matches the buffer contents truncate the buffer to the size of the file.
Showing
Please register or sign in to comment