summaryrefslogtreecommitdiffstats
path: root/libc/termios/ttyname.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-9/+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: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-7/+7
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-2/+2
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge from trunk."Steven J. Hill"2006-02-251-23/+35
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-071-2/+3
|
* Merge from trunk."Steven J. Hill"2005-12-101-1/+5
|
* Merge from trunk."Steven J. Hill"2005-12-081-8/+9
|
* Merge from trunk."Steven J. Hill"2005-12-021-5/+5
|
* Cleanup a few of the more egregiously broken sysconf values toEric Andersen2004-07-151-0/+2
| | | | | | | | actually match reality. In particular, _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX were causing us problems with programs such as libglib, since they were always returning -1, which is a bit smaller than the actual passwd and group max buffer sizes. -Erik
* Add another devfs subdir to the list of checked subdirs.Manuel Novoa III2004-01-131-0/+1
|
* Kept the same approach, but rewrote the code for the most part.Manuel Novoa III2004-01-021-86/+98
| | | | Fixed some minor issues plus (as I recall) one SUSv3 errno case.
* Greg Nutt writes:Eric Andersen2003-09-011-2/+2
| | | | | | | | | | Attached is a patch for a bug I found in libc/termios/ttyname.c. Essentially the length of the buffer is calculated incorrectly in a strncpy call and then the null terminator is placed on the byte after the buffer. This probably cause some very strange behavior on my system (it ended up setting malloc's heapsize to zero) but may be innocuous on other systems.
* A patch from Danny Lepage so that we do not setting on symlinksEric Andersen2002-11-051-2/+2
| | | | | when looking for a device match, and instead keep looking till we find the correct device.
* Stupid filesystems like cramfs fail to guarantee that st_ino and st_devEric Andersen2002-07-061-2/+11
| | | | | | | uniquely identify a file, contrary to SuSv3, so we cannot be quite so precise as to require an exact match. Settle for something less... Grumble... -Erik
* Oops. Looks like I broke ttyname. Fix it.Eric Andersen2002-06-191-5/+5
| | | | -Erik
* Implement ttyname_rEric Andersen2002-06-151-28/+50
| | | | -Erik
* Fix a really stupid bug with ttyname, thanks to a patch fromEric Andersen2001-06-131-1/+1
| | | | Stefan Soucek <ssoucek@coactive.com>
* rewrite to accomodate devfsEric Andersen2001-05-211-30/+60
|
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-3/+3
| | | | | | | This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
* Bug ugly formatting updateEric Andersen2000-10-091-35/+31
|
* Work in progress -- cleanups.Erik Andersen2000-05-141-1/+2
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+45