(Finsert_file_contents): Declare buffer as unsigned
authorRichard M. Stallman <rms@gnu.org>
Fri, 20 May 1994 23:14:58 +0000 (23:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 20 May 1994 23:14:58 +0000 (23:14 +0000)
commit1051b3b3ef16e4ff1575ef22eec533a80fc7142d
treea84470c655d60721a818df4c24c3c880c0d3d5f8
parent2d2eeace3b81236793dc26491a8abcaa1385c878
(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.
src/fileio.c