Commit Graph

10695 Commits

Author SHA1 Message Date
wiz 5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00
wiz 1ad8067cb3 Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.
2006-02-25 00:58:34 +00:00
drochner ce0e370e9a use unsigned ints in filter, to avoid possible portability problems
with bit shifts,
this is part of PR lib/16518 by yamt
(the other concerns in that PR should be solved)
2006-02-24 23:41:50 +00:00
drochner 8f9b0acfe8 account for data alignment of FDDI packets;
this should fix PR bin/28531 by Geoff Adams
(we should import a libpcap 0.9 rather than hacking this to death)
2006-02-24 22:14:10 +00:00
wiz db6c428e48 Bump date for previous. 2006-02-24 22:05:09 +00:00
wiz bf38813317 We have 2006. 2006-02-24 21:57:53 +00:00
wiz 6506e28d85 Bump date for previous. 2006-02-24 21:50:43 +00:00
wiz ad381e882e Improve English, fix a typo. 2006-02-24 21:50:04 +00:00
wiz bade1adbc5 Fix typo. 2006-02-24 21:07:29 +00:00
wiz 8b9018d2d9 Mark up NULL (with Dv). 2006-02-24 21:06:50 +00:00
wiz cba53a68f9 Link to getvfsstat(2) instead of getfsstat(2). 2006-02-24 20:49:38 +00:00
drochner 39222faf50 complete constification of the sysctl() user side 2006-02-24 19:33:09 +00:00
ginsbach c4276fd553 Add EAI_OVERFLOW per RFC3493, POSIX and XPG6. 2006-02-22 14:26:30 +00:00
he 516a950568 Remove unused local variable (re-declared in inner conditional scope). 2006-02-22 08:49:45 +00:00
drochner 9c09926156 scale denormal numbers, to get a meaningful exponent (and a mantissa
which just consists of the implicit bit),
fixes PR lib/32861 by FX Coudert
(the bug was seen in gfortran stress tests)
(we should use the code in fdlibm as we do for frexpf())
2006-02-21 16:30:56 +00:00
peter 91c766665d Translate new messages. 2006-02-21 16:00:30 +00:00
salo fcf37725e7 Translate new messages. 2006-02-21 15:20:03 +00:00
martin 2b403a2f32 Translate new messages 2006-02-21 14:02:22 +00:00
jmmv 9a759636ba Translate three new messages. 2006-02-21 08:51:20 +00:00
christos 176a6bf510 Text for the 3 new error messages, from Elad. 2006-02-21 00:11:01 +00:00
christos c07324ce90 Add the 3 new error messages. 2006-02-21 00:08:26 +00:00
christos 2249b62177 Add 3 new error strings. 2006-02-20 17:33:47 +00:00
elad bca69c49bf needs assert.h to compile. 2006-02-19 23:13:14 +00:00
yamt 03c44ce523 document posix_fadvise. 2006-02-19 22:27:47 +00:00
elad f0dd749f9b add _DIAGASSERT as requested by mrg@. 2006-02-19 20:46:29 +00:00
christos b1732b7a63 make these consistent. 2006-02-19 05:06:02 +00:00
christos e551462e89 PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin 2006-02-19 00:12:36 +00:00
matt 8b121c704a Seperate out the compat support for VAX. Also, make references to the
sigcontext sigtramp code weak so compat can be compiled out.
2006-02-18 22:54:51 +00:00
elad 5cd336ae07 When loading a policy with an "nclasses" option, always set the min/max
values for the various character classes to allow any number, just in
case. Also note about that in the man-page.

This makes it easier to use the "nclasses" option.

Note that alternatively we could just memset() to 0xff when doing the
load, but that might lead to more unexpected behavior.
2006-02-18 16:45:01 +00:00
elad cf6eceb4e7 Don't expose struct pw_policy and use pw_policy_t, use malloc, man-page
fixups.

As discussed on source-changes@.

Okay yamt@, thorpej@.
2006-02-18 16:32:45 +00:00
elad 378a5a27de Some stuff that's been sitting in my tree for too long...
Improve the pw_policy(3) API by splitting it to two functions, one to load
the policy from /etc/passwd.conf and another to test passwords against the
policy.

Some bug fixes, more consistent code, and man-page updates.

Minor for libutil bumped.
2006-02-18 10:52:48 +00:00
matt b09fbb025f *setjmp14 are not compat, plain setjmp/sigsetjmp are the compat versions.
Exchange the files.
2006-02-18 00:45:22 +00:00
matt bfb62ce415 Move PowerPC compat files from arch/powerpc to compat/arch/powerpc. 2006-02-18 00:21:27 +00:00
ginsbach 80194aa8a4 Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
too short.  This conforms to RFC3493, POSIX and XPG6.  [from KAME]
2006-02-17 15:58:26 +00:00
ginsbach e0882f7342 Add EAI_OVERFLOW as specified in RFC3493, POSIX and XPG6. 2006-02-17 15:55:01 +00:00
christos c975cdc86c - s/notyet/WIDE_DOUBLE/
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double formatted leaked 24 by calling __freedtoa()
  appropriately. the new gdtoa keeps a list of memory chunks allocated by
  malloc(), and it must maintained properly by calling __freedtoa() on the
  results of __dtoa() Hi Klaus!
- in vfwprintf() make cvt return char * and convert it using __mbsconv(),
  instead of having it return wchar_t *.

This should fix the memory leaks people have been reporting (eg. in top etc.)
2006-02-16 23:26:19 +00:00
christos 0213791d0c 1. Eliminate some unnecessary to kvm_{m,re}alloc.
2. Don't malloc/free procbase/procbase2/lwpbase continuously. Keep track
   of the size, and only do it if necessary.
3. Write a macro to malloc/realloc and set the size of members so that it
   is done correctly. Previous open coded version in kvm_file.c always
   set the length, which is incorrect.
4. Remove bogus check against INT_MAX.
5. use NULL to initialize pointers instead of 0.
2006-02-16 20:48:42 +00:00
tnozaki f87e6eb1f0 make "locale -a" read locale.alias file. 2006-02-16 19:19:49 +00:00
bouyer 5cd3d133bf Use the class of the user, not then default class, when checking for
nologin and ignorelogin login.conf(5) capabilities.
2006-02-15 20:28:32 +00:00
tnozaki 1b24b76f6b MB_CUR_MAX should be 2 when MODE_2BYTE flag set. 2006-02-15 19:50:27 +00:00
ginsbach ac8d9f1ddd Fix spelling mistake in comment. From OpenBSD. 2006-02-13 17:16:20 +00:00
christos d16ee74e35 bump version for symbol renames. 2006-02-13 16:50:14 +00:00
christos 10f8fe2052 PR/32817: Magnus Svensson: write_history and read_history returncode is not
readline compatible.
2006-02-13 14:12:04 +00:00
christos fd2c82a86e Partial rl_getc_function support from Jess Thrysoee. 2006-02-12 16:15:07 +00:00
agc d728d0329e Pick up the netmask functionality. 2006-02-12 15:38:34 +00:00
yamt 9f9e6a32dd - do PTHREAD_MLOCK_KLUDGE in pthread__stackid_setup, rather than callers,
so that the main thread is not different from others.
  as a side effect, fix memory leak in pthread_create on error.
- make pthread__stackid_setup return a error rather than calling err(2).
2006-02-12 11:41:53 +00:00
chs 899d1b31b2 convert "magiclinks" from a per-fs mount option to a system-wide sysctl.
as discussed on tech-kern quite some time ago.
2006-02-12 01:32:06 +00:00
agc 87de377d9d Reflect changes in dist/ in the reachover framework 2006-02-09 23:09:06 +00:00
dogcow 86811edb37 change #include <sys/endian.h> => #include <machine/endian.h> so that
it's (more) consistent in the tree; this, along with changing tools/compat's
autoconf detection from AC_CHECK_FUNCS to AC_CHECK_DECLS makes the vast
majority of htobe16 and friends' redefinition errors bite the dust.
Tested with -current and FreeBSD.
2006-02-09 22:03:15 +00:00
agc c6b4d61ee2 Reachover support for the library version of the iSCSI target. 2006-02-08 18:58:55 +00:00