diff options
author | tjr <tjr@FreeBSD.org> | 2003-11-04 11:05:55 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-11-04 11:05:55 +0000 |
commit | 46a574efa9d64e0719dd8846de8e06a157dbd4ff (patch) | |
tree | de1efe529ace379f46b768f97f638aa004be19ea /usr.bin/sed | |
parent | a69e97d1cc1b9b78983d8e402ba00aa348d02701 (diff) | |
download | FreeBSD-src-46a574efa9d64e0719dd8846de8e06a157dbd4ff.zip FreeBSD-src-46a574efa9d64e0719dd8846de8e06a157dbd4ff.tar.gz |
Pass mbrtowc() and wcrtomb() NULL instead of a pointer to a freshly zeroed
mbstate_t object that they ignore. The zeroing is fairly expensive, and it
will never be necessary in these functions; when we support state-dependent
encodings, we will pass in a pointer to the file's mbstate_t object, and
only zero it at the time the file gets opened.
Diffstat (limited to 'usr.bin/sed')
0 files changed, 0 insertions, 0 deletions