file.c: Don't walk off the end of a string in string_cmp()
commit573f93618ccffbc3084115db7e0d40c46f2b42fa
authorPeter Clifton <pcjc2@cam.ac.uk>
Mon, 9 Nov 2009 17:06:25 +0000 (9 17:06 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Mon, 9 Nov 2009 17:06:25 +0000 (9 17:06 +0000)
tree6a574e8c7ff8e676d030123d6e002e0285e957ac
parentf25ffbd309dd692389f1d517c8642cc9b66a406c
file.c: Don't walk off the end of a string in string_cmp()

We need to check that we don't advance past the terminating \0
in the string.
src/file.c