summaryrefslogtreecommitdiffstats
path: root/libc/termios/ttyname.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-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: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-5/+5
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-2/+2
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-2/+2
| | | | | | | | | 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.
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-23/+35
| | | | missing headers, other jump relocs removed
* Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add ↵Peter S. Mazinger2005-12-161-1/+2
| | | | it back
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-1/+1
|
* Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger2005-12-131-2/+2
|
* fix a warningMike Frysinger2005-12-101-1/+1
|
* Use internal versionsPeter S. Mazinger2005-12-081-0/+4
|
* Hide morePeter S. Mazinger2005-12-071-8/+9
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-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