bionic/libc/upstream-openbsd
Elliott Hughes 3d7a0d9b08 Switch to the OpenBSD wcsto* functions.
This replaces a partial set of non-functional functions with a complete
set of functions, all of which actually work.

This requires us to implement mbsnrtowcs and wcsnrtombs which completes
the set of what we need for libc++.

The mbsnrtowcs is basically a copy & paste of wcsnrtombs, but I'm going
to go straight to looking at using the OpenBSD UTF-8 implementation rather
than keep polishing our home-grown turd.

(This patch also opportunistically switches us over to upstream btowc,
mbrlen, and wctob, since they're all trivially expressed in terms of
other functions.)

Change-Id: I0f81443840de0f1aa73b96f0b51988976793a323
2014-04-29 14:53:11 -07:00
..
android Clean up and document our hacks for building BSD source. 2014-04-21 17:13:46 -07:00
lib/libc Switch to the OpenBSD wcsto* functions. 2014-04-29 14:53:11 -07:00
README.txt Clean up and document our hacks for building BSD source. 2014-04-21 17:13:46 -07:00

This directory contains upstream OpenBSD source. You should not edit these
files directly. Make fixes upstream and then pull down the new version of
the file.

TODO: write a script to make this process automated.