simplify logic in stpcpy; avoid copying first aligned byte twice
authorRich Felker <dalias@aerifal.cx>
Mon, 22 Oct 2012 19:17:09 +0000 (15:17 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 22 Oct 2012 19:17:09 +0000 (15:17 -0400)
commit838951c97edc05cb2a25948ee542415b55b8f605
tree3b9daebb7f47597258b5478960751a326f0bc316
parent4eb4844b31906e1f8d4a1a1ff7a5c94e1083661f
simplify logic in stpcpy; avoid copying first aligned byte twice

gcc seems to be generating identical or near-identical code for both
versions, but the newer code is more expressive of what it's doing.
src/string/stpcpy.c