summaryrefslogtreecommitdiff
path: root/libc/stdlib/bsd_getpt.c
AgeCommit message (Collapse)Author
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2006-01-20Correction if UNIX98PTY_ONLY is not enabledPeter S. Mazinger
2005-12-10sync with glibc (grab some hidden updates) and fix some warningsMike Frysinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2001-08-30"Kim B. Heino" <Kim.Heino@bluegiga.com> reportsEric Andersen
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.
2001-05-08Add in libutil, based on Cory Visi's variant of Michael Shmulevich's libutilEric Andersen
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