Commit Graph

8636 Commits

Author SHA1 Message Date
martin 55acdca8c5 No more sparc64 compiler workarounds 2003-09-19 16:30:31 +00:00
itojun 57e4de6099 add warning on realloc() size de-synchronization. from openbsd 2003-09-19 05:36:59 +00:00
jdolecek bb21f0beb4 remove pw_dup() 2003-09-18 09:24:35 +00:00
jdolecek 430f0af1db remove pw_dup(3), for now at least
follows discussion on mailing lists, discussed in private e-mail with Itojun
2003-09-18 09:13:14 +00:00
cl c6de69ee49 fix pt_trapuc handling errors:
- movl to address register doesn't set flags (add explicit test)
- clr only clears a word (use clrl)
2003-09-17 20:08:07 +00:00
wennmach be03f9bd59 Avoid the PIC dance. 2003-09-16 18:17:11 +00:00
cl 465ed898bd bump minor for sa_unblockyield syscall 2003-09-16 13:55:41 +00:00
cl 5c40d56471 fix SA/pthread pagefault failure:
- prevent BLOCKED upcalls on double page faults and during upcalls
- make libpthread handle blocked threads which hold locks
- prevent UNBLOCKED upcalls from overtaking their BLOCKED upcall
this adds a new syscall sa_unblockyield
see also http://mail-index.netbsd.org/tech-kern/2003/09/15/0020.html
2003-09-16 13:51:31 +00:00
simonb 49b0281b33 Shut lint up. 2003-09-16 07:56:51 +00:00
itojun 94da0d16ac avoid overflow during multiply. David Laight 2003-09-15 23:38:20 +00:00
cl 64408794ea make popen/pclose thread safe 2003-09-15 22:30:38 +00:00
tron e9c2e92b36 Include "sys/ttydefaults.h" to get standard definition of "CTRL" macro
which avoids clash with custom one.
2003-09-15 11:33:33 +00:00
christos 2e7dfdfa24 kludge around CTRL redef. 2003-09-15 01:29:36 +00:00
christos 7fb5c922f1 Match the stupid function pointer declarations with actual readline's 4.0.
This is gross.
2003-09-14 22:15:23 +00:00
christos 7bb332f70b make this compile. 2003-09-14 21:55:39 +00:00
christos 705c04f0bc Avoid pre-ansi warning. 2003-09-14 21:55:19 +00:00
christos 166e18a7fd - provide enough hooks to compile gdb-5.3
- fix el_get(e, EL_TERMINAL, (char **))
2003-09-14 21:48:54 +00:00
fvdl 8eb02ce5c0 Make log1p and log1pf work in shared libraries again. 2003-09-14 21:26:14 +00:00
wiz d46db7b926 In is only to be used in SYNOPSIS; Aq Pa is better for other places.
Problem noticed by kleink.
2003-09-14 09:15:23 +00:00
wiz 5a12b7062e Various fixes. 2003-09-14 09:02:49 +00:00
kleink b9f1052a4d Fix some typos, attempt some markup normalization, align wording a little
more with other manual pages.
2003-09-13 23:00:38 +00:00
christos 8694ace9bd forgot to install timer_settime. 2003-09-13 22:50:21 +00:00
christos 960ffa78a4 Fix markup. 2003-09-13 22:44:23 +00:00
kleink 9865e7ff1d Sprinkle restrict into timer_{create,settime}(2). 2003-09-13 22:31:04 +00:00
itojun f6da4d89f2 weak alias for pw_dup 2003-09-13 22:28:12 +00:00
christos 226b4082f4 Add timer man pages. Hi Nathan! 2003-09-13 22:22:29 +00:00
itojun 220a141637 correct setup of ru_b/a for 16/20 bit case 2003-09-13 21:29:57 +00:00
itojun 1ecc9b581c use internal names for randomid() 2003-09-13 21:27:43 +00:00
christos 86d645082f fix syntax; thanks aymeric 2003-09-13 17:19:55 +00:00
christos d1bb4290e8 explicitly use a sigset_t * variable to recover the signal mask pointer. 2003-09-13 15:26:38 +00:00
mycroft ec5dc2be24 Fix something that's been annoying me for a while...
Pull in <fcntl.h>, so that the fcntl #defines are present, and we build in the
automatic reset of non-blocking mode, rather than beeping like mad.
2003-09-13 04:18:00 +00:00
christos ab0a78e1a7 - don't define __LIBC12_SOURCE__
- need to SIG_IGN SIGSYS for the version check
- simplify code
2003-09-12 20:42:15 +00:00
drochner 45a9abb6af make it compile with PTHREAD_SIG_DEBUG again 2003-09-12 15:31:00 +00:00
christos 8adecf9fbe need __HAVE_SIGINFO to get the right flavor of the sigreturn symbol. 2003-09-12 13:29:46 +00:00
christos 86ad7a15ee __sigreturn14 -> compat_16___sigreturn14; thanks yamt 2003-09-12 12:42:34 +00:00
kleink 8742dcef75 Fix pasto in previous. 2003-09-12 10:10:39 +00:00
christos 138df80b74 convert to use siginfo/ucontext style of signal delivery instead of
sigcontext. Approved by nathanw.
2003-09-12 00:37:17 +00:00
christos d217c83d02 add a cast to make lint happy. 2003-09-11 21:57:32 +00:00
christos 338cc5f663 sprinkle ARGSUSED for good cheer. 2003-09-11 21:51:57 +00:00
christos 5a93912d03 No reason for __ in static variable. 2003-09-11 20:24:39 +00:00
christos c18cae3e90 For kernels that have COMPAT_16 enabled, detect that and use the old
sigcontext trampoline code when SA_SIGINFO is not set.
2003-09-11 20:23:46 +00:00
christos 847c1ca736 bump major. i386_vm86 abi change. 2003-09-11 19:19:31 +00:00
christos e4a907f72e we only have it if __HAVE_SIGINFO is not defined. 2003-09-11 15:29:10 +00:00
itojun 07f2a2a309 check malloc failure. yamt 2003-09-11 11:24:33 +00:00
wennmach cf92bf760d Reimplement s_log1p.S and s_log1pf.S to use the fyl2xp1 instruction
where necessary.

The log1p() function is provided to compute an accurate value of
log(1 + x), even for tiny values of x. The i387 FPU provides the
fyl2xp1 instruction for this purpose.

However, since the range of the fyl2xp1 function is limited to
-(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
          (-0.292893 <= x <= 0.414214)
we need to check if the argument is in the valid range.

In order to reduce the cost for testing the range, we only use
fyl2xp1 if the argument is in the range
               -0.25 <= x <= 0.25
which can be checked with just one conditional branch.

Fixes PR lib/22599 by Ray Brownrigg.
2003-09-10 16:45:43 +00:00
wiz fb114e34c8 Add semicolons when enumerating variables (looks more natural);
new sentence, new line; sort SEE ALSO.
2003-09-10 14:27:22 +00:00
christos a3c9529278 Reflect reality after siginfo changes. 2003-09-10 14:13:07 +00:00
wiz 8d66b069c8 Use standard section headers, suggested by jmc@openbsd. Sort sections. 2003-09-10 13:30:16 +00:00
wiz 9e4a539564 Pull over some improvements from OpenBSD's v1.26 of this file, including
SEE ALSO and RETURN VALUES sections.
2003-09-10 09:35:41 +00:00
wiz 0e9a92473d Fix Nd; use In instead of Fd; grammar fixes. 2003-09-10 09:16:45 +00:00