chap
f3ef5715ba
Document the recent trunk changes to ntp_gettime(2) (Hi Matthias!).
2006-06-04 15:46:08 +00:00
christos
98f3ad2656
Document SA_NOKERNINFO.
2006-06-03 18:23:52 +00:00
tnozaki
a55e9cdf1a
fix lib/33476:
...
added following manpages (derived from FreeBSD),
wcwidth(3) wcswidth(3)
wcstol(3) wcstoll(3) wcstoimax(3)
wcstoul(3) wcstoull(3) wcstoumax(3)
and update doc/TODO.i18n.
2006-06-03 04:36:43 +00:00
mrg
db19e89e04
remove support for building (with) GCC 2.95. also:
...
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
mrg
e69cf86f15
remove GCC2 support
2006-06-02 19:47:15 +00:00
mrg
da78757b0f
initialise some variables for gcc.
2006-06-02 19:46:56 +00:00
jnemeth
74cf788741
PR/30730 force changing password via chsh fails
...
PR/33502 password aging not working
copy old_pwd to new_pwd before modifying
2006-05-30 19:48:07 +00:00
jnemeth
d7635ff0b0
missed check for malloc() returning NULL
2006-05-29 21:55:41 +00:00
drochner
837ecb8ce8
support the new ntp_gettime() syscall and add compatibility for the old one
2006-05-29 10:02:56 +00:00
drochner
f5015685d4
mention error return value, like getrawpartition(3)
2006-05-26 12:36:59 +00:00
christos
d49dbefade
Coverity CID 3783: Fix uninit variable.
2006-05-25 15:27:35 +00:00
wiz
cb3fc8886b
\- is a minus.
2006-05-25 10:56:08 +00:00
christos
dc46554fdb
Document that this can fail.
2006-05-25 00:41:24 +00:00
oster
4f500646a9
Add a missing ')' to fix the example code. Already fixed in openssl upstream.
2006-05-24 16:44:34 +00:00
christos
4d02435f76
Coverity CID 3677: Plug memory leak
2006-05-23 00:58:42 +00:00
wiz
6f524b4705
Punctuation nit.
2006-05-22 21:55:01 +00:00
kleink
bf44a81954
Clarify that strerror() doesn't return EINVAL but stores in errno;
...
prompted by Thomas Klausner.
2006-05-22 21:40:33 +00:00
mrg
e795c5750a
use -O0 for blocksort.o on sh3 & GCC4.
2006-05-21 03:34:57 +00:00
mrg
15fc3900ea
add a local prototype for fabs()
2006-05-21 02:51:15 +00:00
christos
351fa65664
Instead of using -I- -I${.CURDIR} and #include "dot_init.h", use:
...
-I${.CURDIR} and #include <dot_init.h>, since -I- is obsoleted in gcc-4,
and it is too confusing anyway.
2006-05-19 19:11:12 +00:00
tsutsui
d2152dcfde
- getvfsstat(2) isn't in 2.1 but 3.0
...
- getffstat() -> getfsstat()
2006-05-19 17:59:28 +00:00
tsutsui
d3eabd24ce
fhstatvfs(2) isn't in NetBSD 2.1 but 3.0.
2006-05-19 17:57:37 +00:00
christos
8444694a42
cast shift argument in macro.
2006-05-19 14:40:15 +00:00
christos
f5bdde5936
Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure.
2006-05-18 20:42:52 +00:00
christos
96473fa808
change __weak_extern to __weak_reference so that gcc4 works.
2006-05-18 17:54:19 +00:00
christos
ca130c6a90
Explicitly mention that telldir values are only valid for the lifetime of
...
the DIR pointer. Pointed out by Klaus Klein.
2006-05-18 15:30:36 +00:00
thorpej
3e69f1b2a5
- Add prop_array_equals(), prop_dictionary_equals(), and
...
prop_dictionary_keysym_equals(), and prop_object_equals() functions.
- Use realloc() where it makes sense. There will be more changes in this
area.
- Add a _prop_object_type structure that is used internally to keep
information about the object types. Decreases the footprint of the
objects slightly by replacing several pointers with just one.
2006-05-18 03:05:19 +00:00
christos
cfd3aebca4
PR/24324: Arne H Juul: Re-implement seekdir/telldir using a pointer of
...
locations per directory instead of a global hash table to avoid memory
leak issues, and incorrect results.
2006-05-17 20:36:50 +00:00
christos
065d43d6c4
Revert previous changes which are unnecessary now the _DYNAMIC is marked
...
weak.
2006-05-17 17:08:54 +00:00
christos
e08e654f06
Mark _DYNAMIC to have attribute __weakref__, so that gcc-4 does not optimize
...
&_DYNAMIC == NULL away. From Matt Thomas.
2006-05-17 17:08:07 +00:00
christos
f32828209d
Back out accidental commit that changed -I-
2006-05-17 17:02:16 +00:00
christos
6f1784f6d3
Fool gcc to compare against a null variable instead of the NULL constant
...
so that it does not optimize the &_DYNAMIC == NULL away. Idea from Matt.
2006-05-17 17:01:12 +00:00
christos
94b00d6e09
Avoid weak symbol related bug with _DYNAMIC not being referenced in the
...
code at all for gcc-4. Fixes statically linked binaries, but the fix is
bogus.
2006-05-17 16:39:25 +00:00
mrg
8726b401d3
if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess.
2006-05-16 20:55:51 +00:00
mrg
640873a430
make sure there is a prototype in scope.
2006-05-16 05:29:16 +00:00
elad
04d63f90b5
Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
...
W^X mappings.
Disabled by default.
First proposed in:
http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html
More information in:
http://pax.grsecurity.net/docs/mprotect.txt
Read relevant parts of options(4) and sysctl(3) before using!
Lots of thanks to the PaX author and Matt Thomas.
2006-05-16 00:08:24 +00:00
christos
06f18c1c0d
XXX: GCC uninitialized variable.
2006-05-14 02:15:31 +00:00
mrg
169832563d
with GCC4 we *need* to pass -fno-unit-at-a-time otherwise GCC
...
reorders things breaking _init() and _fini().
for i386, the {init,fini}_fallthru() functions were being output
_before_ the _init()/ _fini(), and instead of falling through to
the rest of the .init/.fini section, it would fall through to
_init()/_fini() again, and again, and again, until the stack was
exhausted.
now i386 works, but i have not checked that this works for
sparc64 as well.
2006-05-13 01:40:34 +00:00
mrg
6a3e7ce9e1
apply -fno-strict-aliasing to changepw.c
2006-05-12 18:00:06 +00:00
mrg
52874db1aa
since we rename and provide a weak symbol for MD2Transform make it non-static.
2006-05-12 02:49:00 +00:00
mrg
340a97942e
if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess.
2006-05-11 23:53:14 +00:00
mrg
aadd7d4847
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
2006-05-11 23:16:28 +00:00
mrg
e221bc9fb9
in _m_gmon_destructor(0 when traversing the list, add (void *) to the cast
...
chain.
2006-05-11 17:19:15 +00:00
mrg
6f4493cd5c
xdr sucks. sprinkle some (void *) casts into it's functions taking void **,
...
and shut up GCC4.
2006-05-11 17:11:57 +00:00
mrg
77c7eed08d
add128() wants bits64 * as it's 5th argument.
2006-05-11 16:38:44 +00:00
christos
b0a429fdb3
Document more MSG_ flags. From FreeBSD
2006-05-11 15:48:48 +00:00
yamt
060eacec48
#include a necessary header directly, rather than via user.h.
2006-05-11 12:00:20 +00:00
mrg
ec0b42887d
build w_cabs.c/w_cabsf.c with -fno-builtin-cabs[f]
...
XXX: our cabs()/cabsf() are different to others.
2006-05-11 00:37:53 +00:00
mrg
fd07545586
in makecontext(), sp is unsigned * so don't assign signed *'s to it.
2006-05-11 00:34:44 +00:00
mrg
084c052803
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00