summaryrefslogtreecommitdiff
path: root/libc/misc/ttyent/getttyent.c
AgeCommit message (Collapse)Author
2004-05-07"Fix" this so that at least things will link when threading is disabled.Manuel Novoa III
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.
2004-03-18Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen
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?
2002-06-17Shuffle the logic around a bitEric Andersen
-Erik
2002-03-25Patch from Steven J. Hill to disable __fsetlocking whenEric Andersen
threads are disabled. Bug is my fault. oops. -Erik
2002-03-21Support getttyent and friends so ncurses will compileEric Andersen