summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-24 02:53:45 +0000
committertjr <tjr@FreeBSD.org>2002-10-24 02:53:45 +0000
commit48764d41ecc4906a74830fab68eedc30e9116457 (patch)
treed66c45df75e2579316b3f0f4bf4ba5a5e9cc868f /lib/libc/stdio/stdio.c
parentf6957d7de7a8242400b044210d80b2645f9e3866 (diff)
downloadFreeBSD-src-48764d41ecc4906a74830fab68eedc30e9116457.zip
FreeBSD-src-48764d41ecc4906a74830fab68eedc30e9116457.tar.gz
Replace wcsstr() with an implementation based on strstr(), which is far
more efficient. The problem with the previous implementation was that it calculated the length of the first argument ("big") with wcslen() when it was not necessary.
Diffstat (limited to 'lib/libc/stdio/stdio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud