HomeFreeBSD

libelftc: Micro-optimize string table insertion.

Description

libelftc: Micro-optimize string table insertion.

The string's length is already known, so use memcpy() instead of
strcpy() to add it to the string table image.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20760

Details

Provenance
markjAuthored on Jun 26 2019, 4:30 PM
Parents
rG6137883ff337: Remove references to splbio in ffs_softdep.c.
Branches
Unknown
Tags
Unknown

Event Timeline