summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strdup.c
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-11-22 00:07:53 +0000
committereadler <eadler@FreeBSD.org>2011-11-22 00:07:53 +0000
commit7eb95f50e380e785a18aaee6734807ee6db226a6 (patch)
treeabcaedad17a9a120ce91c83c2e7ca0fda8f47c2d /lib/libc/string/strdup.c
parent3be48b6d59eed7d8eadd7974014c5cf08eb38e9a (diff)
downloadFreeBSD-src-7eb95f50e380e785a18aaee6734807ee6db226a6.zip
FreeBSD-src-7eb95f50e380e785a18aaee6734807ee6db226a6.tar.gz
- add check for pointer equality prior to performing the O(n) pass
- while here change 's' to 's1' in strcoll Submitted by: eadler@ Reviewed by: theraven@ Approved by: brooks@ MFC after: 2 weeks
Diffstat (limited to 'lib/libc/string/strdup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud