summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/bsd_getpt.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-2/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* - revert incorrect parts of r22257 and 22259Bernhard Reutner-Fischer2008-06-071-2/+2
| | | | since posix_openpt lives in getpt.c it has to stay there unconditionally.
* - remove __USE_BSD guard from __bsd_getpt().Bernhard Reutner-Fischer2008-06-071-2/+0
| | | | | Fixes compilation error for defined UCLIBC_HAS_PTY && !defined UNIX98PTY_ONLY which need both __libc_ptyname1 and __libc_ptyname2 for ptsname_r().
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | 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.
* Correction if UNIX98PTY_ONLY is not enabledPeter S. Mazinger2006-01-201-2/+4
|
* sync with glibc (grab some hidden updates) and fix some warningsMike Frysinger2005-12-101-17/+15
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-3/+3
|
* "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