diff options
author | tjr <tjr@FreeBSD.org> | 2002-10-24 02:53:45 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-10-24 02:53:45 +0000 |
commit | 48764d41ecc4906a74830fab68eedc30e9116457 (patch) | |
tree | d66c45df75e2579316b3f0f4bf4ba5a5e9cc868f /lib/libc/stdio/tmpnam.c | |
parent | f6957d7de7a8242400b044210d80b2645f9e3866 (diff) | |
download | FreeBSD-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/tmpnam.c')
0 files changed, 0 insertions, 0 deletions