#
6caac9d0 |
| 30-Jun-2013 |
martin <martin@NetBSD.org> |
Rearrange to make lint deal with it (to unbreak the build). Someone please (1) fix lint and then (2) back this out ;-)
|
#
138bf8b9 |
| 30-Jun-2013 |
matt <matt@NetBSD.org> |
When opening a ttys files, try path.<machine> first. This helps machine archs which have multiple ttys files (arm, mips, powerpc, m68k, sh3)
|
#
9292cfb2 |
| 15-Oct-2011 |
christos <christos@NetBSD.org> |
close on exec fixes: - open + fcntl -> open O_CLOEXEC - configuration database file descriptors that can stay open are now opened fopen(db, "re")
|
#
2118fde3 |
| 17-Apr-2006 |
salo <salo@NetBSD.org> |
Add setttyentpath(), functionally equivalent to setttyent() but takes an additional argument to read the ttys information from an alternate path istead of _PATH_TTYS.
Required for upcoming init(8) c
Add setttyentpath(), functionally equivalent to setttyent() but takes an additional argument to read the ttys information from an alternate path istead of _PATH_TTYS.
Required for upcoming init(8) changes.
Mostly from <apb>.
Bump libc minor.
show more ...
|
#
d1ca0533 |
| 14-May-2005 |
christos <christos@NetBSD.org> |
make sure ty_class is cleared on each entry.
|
#
ba984735 |
| 10-Nov-2004 |
christos <christos@NetBSD.org> |
PR/28183: Brian Marcotte: Getty eats the last character of the last field. As Brian reports the bug is in skip(). The logic on end of line is broken.
- fix the bug which can cause buf[-1] to be writ
PR/28183: Brian Marcotte: Getty eats the last character of the last field. As Brian reports the bug is in skip(). The logic on end of line is broken.
- fix the bug which can cause buf[-1] to be written. - don't leave the line buffer allocated on end of file. - KNF - use __func__ instead of hard-coding the function name. - don't use needlessly global variables
show more ...
|
#
eb7c1594 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
#
622e897f |
| 20-Apr-2003 |
christos <christos@NetBSD.org> |
PR/5265: John Buller: ttyflags does not report syntax errors or unknown tty options in /etc/ttys Make this use fparseln and use warn and warnx to report problems.
|
#
7daefc5a |
| 07-Jul-2000 |
itohy <itohy@NetBSD.org> |
Passing "char" values to ctype(3) functions is problematic. If an argument of a ctype function is outside "unsigned char" and if it is not EOF, the behavior is undefined.
The isascii(3) is the sole
Passing "char" values to ctype(3) functions is problematic. If an argument of a ctype function is outside "unsigned char" and if it is not EOF, the behavior is undefined.
The isascii(3) is the sole exception of above and it was used to be used to check a value was valid for other ctype functions in ancient systems. On modern systems, the ctype functions take all values of "unsigned char", and this check is obsolete and even wrong for non-ASCII systems. However, we leave the isascii() untouched for now, so as not to change the current behavior.
show more ...
|
#
60549036 |
| 22-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
#
d8962612 |
| 20-Sep-1999 |
lukem <lukem@NetBSD.org> |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
#
b48252f3 |
| 16-Sep-1999 |
lukem <lukem@NetBSD.org> |
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attemp
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
show more ...
|
#
531aeb7c |
| 15-Jan-1999 |
tsarna <tsarna@NetBSD.org> |
Add a "class" entry to ttyent. Closes PR#4638.
|
#
4146d586 |
| 03-Feb-1998 |
perry <perry@NetBSD.org> |
remove obsolete register declarations
|
#
94cf4332 |
| 20-Oct-1997 |
scottr <scottr@NetBSD.org> |
Add support for DTR/CTS flow control, from Bill Studenmund.
|
#
43fa6fe3 |
| 21-Jul-1997 |
jtc <jtc@NetBSD.org> |
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
show more ...
|
#
052e43e4 |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Fix gcc warnings Add missing prototypes Fix RCSID's
|
#
915b76dd |
| 16-Jun-1995 |
jtc <jtc@NetBSD.org> |
Don't cast void functions to void.
|
#
b585e843 |
| 27-Feb-1995 |
cgd <cgd@NetBSD.org> |
update from Lite, with local changes. fix Ids, etc.
|
#
a1fcdedb |
| 30-Mar-1994 |
cgd <cgd@NetBSD.org> |
oops!
|
#
ed556c22 |
| 18-Mar-1994 |
cgd <cgd@NetBSD.org> |
update for new flag
|
#
2df62691 |
| 12-Mar-1994 |
cgd <cgd@NetBSD.org> |
add some new flags for /etc/ttys' status field
|
#
9bd83209 |
| 24-Nov-1993 |
jtc <jtc@NetBSD.org> |
Change C library functions to use strchr() and strrchr() instead of index() and rindex(). This will allow (strict {ANSI, POSIX, XOPEN}) applications to redefine index() and rindex() without effectin
Change C library functions to use strchr() and strrchr() instead of index() and rindex(). This will allow (strict {ANSI, POSIX, XOPEN}) applications to redefine index() and rindex() without effecting the library internals.
show more ...
|
#
9c20f740 |
| 26-Aug-1993 |
jtc <jtc@NetBSD.org> |
Declare rcsid strings so they are stored in text segment.
|
#
f23f94cb |
| 30-Jul-1993 |
mycroft <mycroft@NetBSD.org> |
Add even more RCS frobs.
|