fix redundant computations of strlen in glob append function
authorRich Felker <dalias@aerifal.cx>
Thu, 11 Oct 2018 18:27:15 +0000 (14:27 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 11 Oct 2018 18:27:15 +0000 (14:27 -0400)
commit09a805a62307307230a31125425d0c2b0b6f332e
tree7d5d333ca32f863be3cff411957b07578efa3ac7
parente2552581bc004f7dc5ee9ac220cad8abeae19bba
fix redundant computations of strlen in glob append function

len was already passed as an argument, so don't use strcat, and use
memcpy instead of strcpy.
src/regex/glob.c