Commit Graph

15809 Commits

Author SHA1 Message Date
joerg c91e3eb75b Unbreak compat. 2012-06-16 19:19:14 +00:00
joerg ee99db43bc Allow USE_COMPILERCRTSTUFF=yes for platforms that use MACHINE_CPU !=
MACHINE_ARCH.
2012-06-16 18:19:39 +00:00
joerg 74a7f3e6f2 Do not mark pthread_cond_timedwait explicitly as inlineable, since it
calls pthread__self, which is static.
2012-06-15 19:20:44 +00:00
manu 574c09729f Fix memory leak when we discard a voided setattr operation 2012-06-14 05:58:22 +00:00
manu 08f6c5569f Fix memory leak on setattr 2012-06-13 01:45:56 +00:00
jdf 3a6070abd3 Use correct macro (.Nm is only used within the NAME section, for section 3
manpages).

Patch provided by Bug Hunting.
2012-06-12 21:16:17 +00:00
joerg 1849ce1af3 Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
2012-06-12 18:17:04 +00:00
christos 3ffb571495 mention .Nx 7.0 2012-06-10 00:24:36 +00:00
njoly 5b87e47d83 Consistently use major/minor for NetBSD version. 2012-06-09 22:49:18 +00:00
christos 394bbc132e PR/46571: Yui NARUSE: execinfo.h should include stddef.h 2012-06-09 21:22:17 +00:00
christos 4b9b559fe8 describe RLIMIT_NTHR 2012-06-09 02:36:25 +00:00
abs 7d974f9a82 ANSI prototypes 2012-06-08 11:13:33 +00:00
martin 4df6c44b48 Henning Petersen in PR lib/46561: cosmetic change: avoid self assignement. 2012-06-08 07:54:14 +00:00
martin 5d7ba3d813 Henning Petersen in PR lib/46560: fix memory leak in error path 2012-06-08 07:49:42 +00:00
joerg 2f2f99b48a Relax consistency to make it possible to match valid entries. 2012-06-06 13:36:58 +00:00
wiz 1728003ef9 Bump date for previous. 2012-06-05 17:22:01 +00:00
manu 1d0360b1c9 Add placeholder so that we can later add allbacks without breaking the ABI 2012-06-05 15:04:18 +00:00
martin f8fdd418df Measure kinfo_proc2::p_vm_vsize in pages, as it was always documented.
This value seems to never have been used anywhere.
This makes it consistent with it's cousin p_vm_msize (which is in pages as
well and has several uses).
2012-06-05 08:23:05 +00:00
christos f2d8e54f16 don't crash if add_history is called from an empty line. Called from
nslookup in new bind.
XXX: pullup to 6
2012-06-05 00:30:22 +00:00
joerg 02682f7d23 ANSIfy 2012-06-04 20:56:40 +00:00
joerg 1fa9b84508 Add cdbr(3) support to tools/compat. 2012-06-04 19:06:45 +00:00
wiz cad559dd33 Fix typos. 2012-06-04 00:26:29 +00:00
joerg fc67b0cd11 Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
joerg e9c843846e Provide a usable thr_once for !_REENTRANT 2012-06-03 21:27:30 +00:00
joerg f7ef3610be Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
2012-06-03 21:02:50 +00:00
uwe 310c8e11f2 Claim copyright (per Joerg's request). 2012-06-02 22:15:15 +00:00
roy b7ddb5da20 Ensure that we request a buffer big enough, although with the current
terminfo specification this should never happen.
Correctly return NULL when realloc(3) fails.
2012-06-02 19:10:33 +00:00
njoly fd5f5a6e67 Switch from Op to Oo/Oc for nested block. 2012-06-02 14:19:20 +00:00
joerg 68a65e1a02 Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
2012-06-01 12:08:40 +00:00
joerg 5fafac093e Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
2012-06-01 12:02:36 +00:00
joerg 42e529577c Add void for ttyslot prototype. 2012-05-31 23:11:35 +00:00
christos a6b4b4578e remove stdint.h; it is not used. 2012-05-31 13:16:39 +00:00
christos d22248f82d don't include both term.h and termcap.h 2012-05-30 18:21:14 +00:00
dholland 6e357ed2e2 Add cdefs.h per PR 46492. 2012-05-29 00:27:59 +00:00
manu 35ee07be22 Setting mode by fchmod(2) will break on glusterfs-3.3 is we attempt
to set atime and mtime at the same time. Detect that situation just
like we detected ftruncate(2) and wipe atime and mtime if it occurs.
2012-05-28 02:13:32 +00:00
christos 26fc8e3271 remove unrelated fragment. 2012-05-27 13:25:28 +00:00
wiz 32778414ba Sort sections.
Remove dot at end of Nd
Sort SEE ALSO.
Punctuation fixes.
Bump date to import date.
Comment out a partial sentence.
2012-05-27 12:03:02 +00:00
matt 237bc1530c Place SUBDIR+= libexecinfo properly based on its dependency on libelf. 2012-05-27 02:19:50 +00:00
christos c106aea649 hook in libexecinfo 2012-05-26 22:03:04 +00:00
christos 83d64dcffd Add a similar to linux backtrace_* and execinfo.h family of functions 2012-05-26 22:02:29 +00:00
christos d9a1056489 don't trigger diagassert for a null array with 0 elements or 0 elementsize. 2012-05-26 21:47:05 +00:00
christos 8f44324e4d make getpass and getpass_r print a newline like they did before. 2012-05-26 19:34:16 +00:00
martin 6c3cc552c2 Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.

To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.

Add an exhaustive atf test case, based partly on code from Joel Sing.

Should finally fix the remaining open part of PR kern/43903.
2012-05-21 14:15:16 +00:00
alnsn 3580de4ac5 Use original indentation style in more places. 2012-05-16 17:48:59 +00:00
christos 186f51e0f1 define the new variable 2012-05-15 19:07:25 +00:00
alnsn 81d9822777 Don't use normal indentation style, use original author's indentation style. 2012-05-15 18:13:21 +00:00
alnsn d829b8529b Add missing {} around two "if (b == NULL)" checks which were added in r1.5. 2012-05-15 18:10:02 +00:00
christos f5b586b16d Add rl_completion_word_break_hook from:
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/\
5ec6a45fa762b8cbd0305ca06acb8780335a486a
2012-05-15 17:30:04 +00:00
christos 83bcb34124 save and restore the tty settings on entry and exit respectively.
cleanup debugging printfs.
2012-05-15 15:59:01 +00:00