In src/libc/stdio we have a customized version of the NetBSD stdio library. NetBSD was chosen because it is considered the most portable of the BSD’s.

The cset before the one where this file was created contains an import of the unmodified library. The initial history was imported from the SCCS files in the 4.4BSD release and then the NetBSD history was imported on top. The netbsd-stdio-import.sh script shows how import was done.

On top of that, the code was ported to compile with BK and run on all platforms in the build cluster. The goal was to find the minimal set of changes that would build on all platforms so it some cases code was commented out with #ifdef NOTBK. This wasn’t always pretty.

Issues encountered: