summaryrefslogtreecommitdiffstats
path: root/libc/misc/ttyent/getttyent.c
Commit message (Collapse)AuthorAgeFilesLines
* "Fix" this so that at least things will link when threading is disabled.Manuel Novoa III2004-05-071-4/+8
| | | | | | Also fix the sizeof() issue since the change to a dynamicly allocated buf. Note! This is still broken wrt threading, but so is the glibc version. I'm just commiting this for new until I can test my rewrite.
* Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen2004-03-181-1/+9
| | | | | | | | | | instead. Based on an initial patch from Tobias Anderberg, but reworked. I asked Tobias to look into doing something more like what is done in busybox, but that proved to be a pain. One possible concern is that these buffers will probably show up as memory leaks i.e. with valgrind. Perhaps we should add in an atexit call to free this memory right after we allocate it?
* Shuffle the logic around a bitEric Andersen2002-06-171-56/+49
| | | | -Erik
* Patch from Steven J. Hill to disable __fsetlocking whenEric Andersen2002-03-251-0/+2
| | | | | threads are disabled. Bug is my fault. oops. -Erik
* Support getttyent and friends so ncurses will compileEric Andersen2002-03-211-0/+198