Use memcpy() instead of strcpy() and strcat()
commit8a409d11d9cf12cdfc898069fde33a8ce463bfe1
authorOlly Betts <olly@survex.com>
Mon, 12 Dec 2016 04:45:04 +0000 (12 17:45 +1300)
committerOlly Betts <olly@survex.com>
Mon, 12 Dec 2016 04:45:04 +0000 (12 17:45 +1300)
tree2aff234ccaf31ce975032e339847ced1acd56e70
parent78655ecc01c0bd739d3f226cfd40a009d12ae0f2
Use memcpy() instead of strcpy() and strcat()

This makes it clearer that the buffer can't be overrun, and is probably
a little more efficient too.
xapian-applications/omega/tmpdir.cc