summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/ext/async/sqlite3async.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-19gethostbyname2() and gethostbyaddr() need <sys/socket.h>; discussed withtim1-6/+8
millert@
2015-12-19Style cleanup and removal of needless casts. ok tb@mmcc1-41/+31
2015-12-19Remove NULL-checks before free(). ok tb@mmcc9-52/+30
2015-12-19Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.reyk6-87/+103
OK bcook@ jung@
2015-12-19Remove code that has been unused ever since we removed the agp ioctl interface.kettenis3-655/+21
ok mpi@
2015-12-19Move agp_generic_enable() prototype to agpvar.h to unbreak the build onkettenis2-3/+3
macppc.
2015-12-19Don't exit if a route can't be added. Just log particulars andkrw1-4/+18
let someone else figure it out. ok mpi@
2015-12-19After starting, unconditionally wait up to $daemon_timeout seconds to check thatajacoutot1-7/+2
the daemon is actually running (instead of only when using rc_bg). This *may* trigger the following side effect: if a daemon starts then stops right away (because of a config parsing issue for e.g.), then it will slow down the boot process because rc will wait a bit before considering the start action failed. But at least it will allow us to detect those daemons and fix them or their rc.d(8) script. At least as far as I can tell, all base daemons should cope with it just fine. ok sthen@ robert@ on an earlier diff
2015-12-19Move log_sockaddr() to from log.c to util.c as it is a local additionreyk4-18/+20
and actually not a "logging" function. No functional change.
2015-12-19Child will not return a config parsing error to the parent so rc.d will lie andajacoutot5-6/+28
tell you that the daemon succesfully started; prevent this by running a config check first. Note that we only do this for those particular daemons, not all that support a config test mode. ok benno@ phessler@
2015-12-19Prevent GPU lockups with KMS & AGP-enable on Uninorth (G4) machines.mpi1-3/+20
Based on linux commit 5613beb46d54da6ef7f1c4589e9f2e60eeb10721 found by jsg@. KMS is now usable on Uninorth machines but X11 output is still corrupted. ok kettenis@
2015-12-19Enable agp(4), this makes X11 usable on my Dual G5 with radeondrm(4).mpi1-3/+3
ok kettenis@
2015-12-19Do not match Uninorth bridges until we have a working KMS with AGPmpi1-1/+3
support for G4 machines. This allows us to enable agp(4) again for G5 machines. ok kettenis@
2015-12-19Make carp_output() mpsafe.mpi1-5/+12
This is needed in order to fully unlock ARP processing with carp(4) interfaces as found the hardway by sthen@. ok sthen@, dlg@
2015-12-19Tidy up _rc_wait().ajacoutot1-11/+8
ok sthen@ robert@
2015-12-19UTF-8 support:schwarze2-9/+38
Let -f recognize non-ASCII blank characters and let -s count characters rather than bytes. OK zhuk@ bentley@
2015-12-19Tweak pexp.ajacoutot1-2/+2
2015-12-19Add xs_setprop to set device propertiesmikeb2-2/+32
2015-12-19Fixup a few bugs in xen_intr_{establish,disestablish}mikeb1-10/+6
xen_intr_establish was using a variable that hasn't got its value updated in the supplementary check for event channel port unmasking. xen_intr_disestablish didn't save and correctly check the return value of xen_lookup_intsrc call and was incorrectly indexing into the pending event channel port bitmap.
2015-12-19Make input off flag (selectp -d) apply to synchronize-panes too.nicm1-2/+4
2015-12-19Delete superfluous "continue;" just before end of loop.krw1-2/+1
2015-12-19More style improvement and removal of NULL/allocation casts.mmcc2-47/+26
ok tb@
2015-12-19Delete superfluous "close(s);return" just before "close(s);<functionkrw1-3/+1
exit>".
2015-12-18Remove code for unimplemented ElGamel support that's been disabled formmcc1-20/+1
sixteen years. ok millert@, tb@, sthen@
2015-12-18Make ix(4) mpsafer. Take advantage of intr_barrier() to eliminate the mutexkettenis1-73/+52
introduced in the previous step, and use atomic instructions to make the tx completion path mpsafe as well. ok claudio@, mpi@
2015-12-18Fix SO_REUSE* flags effects when binding multicast addresses. Novgross2-4/+4
regression observed on avahi. ok benno@
2015-12-18Check ioctl() result with == -1, not < 0. Break long line.krw1-3/+4
2015-12-18Fix urtw(4) on big-endian architectures. Patch by Cedric Tessier.stsp1-1/+6
Tested by Cedric on macppc/i386, and by myself on macppc.
2015-12-18Make ix(4) mpsafer. Take advantage of intr_barrier() to eliminate the mutexkettenis2-7/+6
introduced in the previous step, and use atomic instructions to make the tx completion path mpsafe as well. ok claudio@, mpi@
2015-12-18KNF: add a missing space after an 'if'.tb1-2/+2
2015-12-18A few more NULL casts and style tweaks. No functional change.mmcc1-20/+16
2015-12-18Cleanup and modernization. No functional change. Discussed with halex@.mmcc1-51/+34
2015-12-18Remove two error-on-NULL conditions for allocations that can't fail.mmcc2-11/+2
ok visa@
2015-12-18Add library-based __sync functions for mips64.visa2-1/+321
Help with testing and ok kettenis@
2015-12-18Introduce a new function disk_has() to inspect a disk if it has arpe11-78/+98
partition-table of a certain type and optionally if it has a partition of a certain type. Use disk_has() in the install.md script to replace all the various "fdisk <disk> | grep <pattern>" commands greatly simplifying things. positive feedback from sthen@ "time to get it really tested" deraadt@ OK krw@
2015-12-18pledge "stdio rpath wpath cpath dpath fattr", as long as the -m optionderaadt1-2/+6
wasn't used
2015-12-18Remove leftover prototype.visa1-2/+1
ok mpi@
2015-12-18A store to FPA does not need splnet(). The operation is atomic.visa1-7/+1
2015-12-18unnoccupied->unoccupiedsthen1-2/+2
2015-12-18Fix wrong answer if the imaginary part is zero.shadchin3-3/+9
NetBSD also turn off this piece of code. ok tb@
2015-12-18Fix behavior csqrt, should beshadchin3-6/+6
csqrt(conj(z)) == conj(csqrt(z)) Before csqrt(-4.0 + -0.0i) = 0.0 + 2.0j but should be csqrt(-4.0 + -0.0i) = 0.0 - 2.0j ok tb@, also discussed with daniel@
2015-12-18Convert arc4random() to arc4random_uniorm(). Diff by Matthew Martin.tb2-4/+4
Ensure that arc4random_uniform() doesn't loop by redefining ND6_MAX_DESYNC_FACTOR to be 512, the largest power of two smaller than the RFC-specified 600 seconds. Suggested by florian@ and deraadt@ ok florian@, sthen@ in this form, arc4random change ok djm@, tedu@
2015-12-18Simplify return call of rand() and rand_r() to make it easier to read.tb1-2/+2
This is slightly less robust, but RAND_MAX must be one below a power of two in both variants anyway. Based on a suggestion by Matthew Martin. ok tedu@
2015-12-18Drop the now useless multicast setup comment.ajacoutot1-7/+1
prodded by tim@, ok mpi@
2015-12-18Prevent uvm_fault() when hitting a breakpoint by restoring the originalgerhard1-2/+2
page protection bits. Go ahead, mlarkin@
2015-12-18Fix out of bounds array access in ieee80211_setbasicrates().stsp1-1/+2
found by + ok jsg@
2015-12-18Remove an error-on-NULL condition after a mallocarray() call that cannotmmcc1-6/+1
fail. This codepath doesn't exist upstream, so it's fine to change. ok jsg@
2015-12-17Simplify multicast option handling (10 less lines) by matching /etc/rc behaviorajacoutot1-12/+2
towards other YES|NO options and drop the error warning. with and ok tim@, ok rpe@ on an earlier diff
2015-12-17As well as setting up the state, actually use it in cmd_find_target.nicm1-3/+4
2015-12-17Make the cost of moving a process to the primary cpu a bit higher. This iskettenis1-1/+10
the CPU that handles most hardware interrupts but we don't account for that in any way in the scheduler. So processes (and kernel threads) that are unlucky enough to end up on this CPU will get less CPU cycles than those running on other CPUs. This is especially true for the softnet taskq. There network interrupts will prevent the softnet taskq from running. This means that the more packets we receive, the less packets we can actually process and/or forward. This is why "unlocking" network drivers actually decreases the forwarding performance. This diff restores most of the lost performance by making it less likely that the softnet taskq ends up on the same CPU that handles network interrupts. Tested by Hrvoje Popovski ok mpi@, deraadt@