#
388550b0 |
| 19-Apr-2022 |
rillig <rillig@NetBSD.org> |
lib: remove CONSTCOND comment
Since 2021-01-31, lint doesn't need it anymore for the common pattern of 'do ... while (0)'.
|
#
3249d3dc |
| 12-Mar-2022 |
christos <christos@NetBSD.org> |
reallocarr returns errno. preserve it.
|
#
6e2ef45a |
| 12-Mar-2022 |
nia <nia@NetBSD.org> |
setmode(3): use reallocarr instead of realloc(x * y)
|
#
639499d8 |
| 12-Mar-2022 |
nia <nia@NetBSD.org> |
setmode(3): use reallocarr instead of malloc(x * y)
|
#
9e66e6d7 |
| 25-Jun-2012 |
abs <abs@NetBSD.org> |
Update old-style definitions to ANSI, remove a couple of register definitions along the way. Fixed gcc 4.1 build (thank you vax)
|
#
b2b93bb9 |
| 21-Mar-2012 |
christos <christos@NetBSD.org> |
fix argument order.
|
#
cf884af3 |
| 20-Mar-2012 |
matt <matt@NetBSD.org> |
Use C89 definitions. Remove use of __P
|
#
fbd01002 |
| 01-Oct-2005 |
christos <christos@NetBSD.org> |
Make sure that setmode sets errno on failure (it used to return a random errno) and document it.
|
#
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.
|
#
140dae96 |
| 15-Jan-2003 |
kleink <kleink@NetBSD.org> |
Rename auto variable shading global sigset().
|
#
086a35e0 |
| 25-Jan-2000 |
enami <enami@NetBSD.org> |
Use tab to indent.
|
#
c26054b7 |
| 22-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Delint.
|
#
60549036 |
| 22-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
#
10749fae |
| 20-Jan-2000 |
enami <enami@NetBSD.org> |
- To detect realloc failure, need to check the value just returned by it. - Free storage on realloc failure. - Some cosmetic changes.
|
#
66aa5b00 |
| 20-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Use strtol() to check validity of numeric values, rather than hand-coding it.
|
#
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 ...
|
#
3eeda4af |
| 16-Mar-1999 |
christos <christos@NetBSD.org> |
Fix gcc-2.8.1 warnings.
|
#
82057922 |
| 27-Feb-1998 |
perry <perry@NetBSD.org> |
trivial changes to quiet lint.
|
#
4146d586 |
| 03-Feb-1998 |
perry <perry@NetBSD.org> |
remove obsolete register declarations
|
#
5ae3044c |
| 08-Oct-1997 |
mycroft <mycroft@NetBSD.org> |
Make sure the command list is properly terminated when parsing an octal mode. From Alasdair Baird in PR 4232.
|
#
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 ...
|
#
1200f6cd |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Fix RCSID's pacify gcc
|
#
50c92675 |
| 07-Feb-1997 |
christos <christos@NetBSD.org> |
I ``who'' was not specified, set the appropriate bits as the manual page states. chmod +s foo and chmod +t . now work.
|
#
a1971a18 |
| 20-Dec-1996 |
cgd <cgd@NetBSD.org> |
pull in unistd.h, const poisoning
|