#
c5e820ca |
| 13-Mar-2012 |
christos <christos@NetBSD.org> |
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values t
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds)
approved by core@
show more ...
|
#
a49dba34 |
| 12-Feb-2012 |
wiz <wiz@NetBSD.org> |
Remove duplicate function declaration. From Henning Petersen in PR 45998.
|
#
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")
|
#
cbfb283c |
| 12-Aug-2006 |
christos <christos@NetBSD.org> |
- Add strndup and stresep - Use stresep so in fstab so that we can mount paths with white space in them.
|
#
4e11af46 |
| 24-Dec-2005 |
perry <perry@NetBSD.org> |
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
#
03256c6e |
| 29-Nov-2005 |
christos <christos@NetBSD.org> |
WARNS=4
|
#
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.
|
#
735ccc3f |
| 16-Apr-2002 |
groo <groo@NetBSD.org> |
botched strncpy -> strlcpy from xs@kittenz.org
|
#
9839c99d |
| 31-Aug-2001 |
lukem <lukem@NetBSD.org> |
fstabscan() fixes: - if _fs_fstab.fs_type is NULL, the line is incorrect, so warn about it rather than trying to deference a NULL pointer. fixes [bin/13787] by Dave Burgess. - clear _fs_fstab bef
fstabscan() fixes: - if _fs_fstab.fs_type is NULL, the line is incorrect, so warn about it rather than trying to deference a NULL pointer. fixes [bin/13787] by Dave Burgess. - clear _fs_fstab before each use (just to be sure)
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 ...
|
#
bdadd563 |
| 23-Feb-1999 |
mrg <mrg@NetBSD.org> |
add a new fstab type "dp" for the user-specified dump device. change swapctl -A to see this and add it via swapctl(2). also add a new swapctl -D <device> to change the dump device on the fly.
|
#
7c2e6d4c |
| 26-Jan-1999 |
thorpej <thorpej@NetBSD.org> |
Fix printf format errors.
|
#
6856868d |
| 24-Jan-1999 |
christos <christos@NetBSD.org> |
- Use strsep() instead of strtok_r() - Use warn{x,}() instead of home brewed error() - Simplify some code.
|
#
ae6ea9e1 |
| 16-Oct-1998 |
kleink <kleink@NetBSD.org> |
Use strtok_r() instead of strtok(), lest the application be surprised by strtok()'s internal marker having changed.
|
#
550424b2 |
| 11-Oct-1998 |
kleink <kleink@NetBSD.org> |
Need "namespace.h".
|
#
4a05bcf0 |
| 26-Jul-1998 |
mycroft <mycroft@NetBSD.org> |
Use warn(3).
|
#
4bedec23 |
| 26-Jul-1998 |
mycroft <mycroft@NetBSD.org> |
const poisoning.
|
#
4146d586 |
| 03-Feb-1998 |
perry <perry@NetBSD.org> |
remove obsolete register declarations
|
#
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 ...
|
#
7957cf15 |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Fix RCSID's Fix bogus NULL casts GC constant strings. Fix gcc warnings.
|
#
9cd5492c |
| 23-Jan-1997 |
mrg <mrg@NetBSD.org> |
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions. - some KNF.
|
#
af07dd15 |
| 03-Apr-1996 |
jtc <jtc@NetBSD.org> |
Add explict function return types
|
#
5a218126 |
| 27-Feb-1995 |
cgd <cgd@NetBSD.org> |
oops; since i kept the writev() trick, still need uio.h
|