summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/bsd_getpt.c
Commit message (Collapse)AuthorAgeFilesLines
* "Kim B. Heino" <Kim.Heino@bluegiga.com> reportsEric Andersen2001-08-301-1/+1
| | | | | | | | | | | | | In the libc/stdlib/bsd_getpt.c file you have line: memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1); It really should be: memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) ); The last nul character must be copied too because the next line uses strlen() to get buf's length.
* Add in libutil, based on Cory Visi's variant of Michael Shmulevich's libutilEric Andersen2001-05-081-0/+78
port. I have reworked the code quite a bit so that the stuff that is supposed to be in libc is in libc, and I added a bunch of missing stuff so the libutil interface matches that of glibc's libutil. The only caveat is that libutil/login.c is currently a stub. -Erik