#
89f106fb |
| 23-Jan-2024 |
christos <christos@NetBSD.org> |
handle sizeof(off_t) > sizeof(size_t)
|
#
6bde3cc4 |
| 25-Feb-2021 |
christos <christos@NetBSD.org> |
fix NLS compilation
|
#
e37fce91 |
| 25-Feb-2021 |
christos <christos@NetBSD.org> |
Add glue to disable locale code in order to be smaller.
|
#
2cf99de6 |
| 24-Feb-2021 |
christos <christos@NetBSD.org> |
reduce casts
|
#
2b21efb9 |
| 24-Feb-2021 |
wiz <wiz@NetBSD.org> |
Restore NetBSD RCS Ids.
|
#
1ee269c3 |
| 23-Feb-2021 |
christos <christos@NetBSD.org> |
sync with FreeBSD: - NLS support - GNU extensions - bug fixes
|
#
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 ...
|
#
407d8594 |
| 09-Oct-2011 |
christos <christos@NetBSD.org> |
Prevent regcomp/regexec DoS attacks by limiting the amount of memory used and the level of recursion. Thanks to Maksymilian Arciemowicz for discovery and help with the implementation.
|
#
64d3d6de |
| 12-Feb-2009 |
lukem <lukem@NetBSD.org> |
sign-compare fixes
|
#
9641e3f0 |
| 08-Feb-2007 |
junyoung <junyoung@NetBSD.org> |
ANSIfy.
|
#
19690e9a |
| 08-Feb-2007 |
junyoung <junyoung@NetBSD.org> |
Nuke __P.
|
#
d2e40598 |
| 02-Dec-2005 |
yamt <yamt@NetBSD.org> |
constify and remove __UNCONST.
|
#
46937c50 |
| 03-Apr-2004 |
christos <christos@NetBSD.org> |
Avoid infinite recursion on:
echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g'
From OpenBSD.
|
#
d43ce6c1 |
| 26-Mar-2004 |
enami <enami@NetBSD.org> |
Redo previous in a different way; cast the character held in int variable as unsigned char just before passing isalnum() in ISWORD() rather than fetching it as unsigned char. It is ok since EOF is n
Redo previous in a different way; cast the character held in int variable as unsigned char just before passing isalnum() in ISWORD() rather than fetching it as unsigned char. It is ok since EOF is never passed to ISWORD() (though it will be a bit inefficient.)
Addresses PR#24929.
show more ...
|
#
4604becb |
| 12-Mar-2004 |
enami <enami@NetBSD.org> |
Sprinkle cast to prevent unwanted sign extension. Some of those actually makes sed invoked during build process an out of bound array access.
|
#
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.
|
#
ce8a71a1 |
| 22-Jul-2002 |
christos <christos@NetBSD.org> |
make this compile with -DREDEBUG again.
|
#
ecb7b5a9 |
| 17-Dec-2001 |
christos <christos@NetBSD.org> |
PR/14975: Takayoshi Kochi: memory leak in regexec(3). Always free m->pmatch and m->lastpos on error.
|
#
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 ...
|
#
c927d63f |
| 20-Jan-1999 |
christos <christos@NetBSD.org> |
Avoid overflow when adding a 64 bit quantity to a 32 bit pointer on 32 bit machines.
|
#
7cd4c14e |
| 08-Dec-1998 |
drochner <drochner@NetBSD.org> |
regoff_t is used like size_t within the code, it should be defined so instead of off_t. This makes some casts unnecessary. We can't change the definition now due to binary compatibility, so prepare f
regoff_t is used like size_t within the code, it should be defined so instead of off_t. This makes some casts unnecessary. We can't change the definition now due to binary compatibility, so prepare for the next libc major version.
show more ...
|
#
4523c05f |
| 14-Nov-1998 |
christos <christos@NetBSD.org> |
Delint: - we don't need to use longs; convert to use int32_t. - remove break statements after returns. - cast things properly.
|
#
c8bafd62 |
| 03-Feb-1998 |
perry <perry@NetBSD.org> |
remove obsolete register declarations
|
#
9cdb67bb |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Add missing return NULL;
|
#
9cd5492c |
| 23-Jan-1997 |
mrg <mrg@NetBSD.org> |
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions. - some KNF.
|