summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-12fwrite() should also return 0 if either size or nmemb are 0.Todd C. Miller
Adapted from FreeBSD. OK deraadt@
2009-07-12sync to 1.7.23: second step to get rid of enum mdoc_warn:Ingo Schwarze
remove type from mdoc_vwarn arguments, and use this function where apropriate
2009-07-12sync to 1.7.23: first step to get rid of enum mdoc_warn:Ingo Schwarze
unify manwarn() and mdocwarn() into mwarn()
2009-07-12In a error case in malo_init (e.g. can't load the firmware),Marcus Glocker
always call malo_stop which removes the previously registered interrupt handler from the cardbus interrupt handler chain. Otherwise, since malo_init gets called twice in a error case, our interrupt handler got registered twice and on the next device detach, just the last registered interrupt handler got removed, which leaves one left. That caused a kernel page fault trap as soon our "zombie" interrupt handler got called. Fix a typo while here.
2009-07-12don't cast lvalue, no binary change.Jonathan Gray
2009-07-12don't cast lvalues, no binary change.Jonathan Gray
ok millert@ gilles@ sthen@
2009-07-12Creating a key binding which replaces itself (such as "bind x bind x lsw")Nicholas Marriott
frees the command list bound to the key while it is still being executed, leading to a use after free. To prevent this, create a dead keys list and defer freeing replaced or removed key bindings until the main loop when the key binding will have finished executing. Found by Johan Friis when creating a key binding to reload his configuration file.
2009-07-12Clean up debug droppings in sr_raid1_set_vol_state().Joel Sing
ok marco@
2009-07-12Enable hotspare rebuilds for softraid RAID1.Joel Sing
ok marco@
2009-07-12Add support for global hotspares to softraid.Joel Sing
ok marco@
2009-07-12Add a "back to indentation" key in copy mode to move the cursor to the firstNicholas Marriott
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another from Kalle Olavi Niemitalo, thanks.
2009-07-12Merge three copies of identical code to move the cursor x position into aNicholas Marriott
single function, from Kalle Olavi Niemitalo.
2009-07-12If it exist, load a system-wide configuration file /etc/tmux.conf before anyNicholas Marriott
user-specified one.
2009-07-12Add some missing GEM_SBUS_CONFIG bits.Mark Kettenis
ok miod@, jsg@
2009-07-12Remove a semicolon at the end of an if statement so theJonathan Gray
test if a buffer isn't NULL before freeing has effect. This was harmless as it is in a failure case and free(NULL) is valid in userland.
2009-07-12If devices have roamed, complain once then update the metadata, just likeJoel Sing
we do for roaming volumes. ok marco@
2009-07-11Limit the history to hlimit not hlimit - 1. This makes a history-limit settingNicholas Marriott
of 0 work as expected.
2009-07-11Add -r to the synopsis of the paste-buffer command, prompted by jmc.Nicholas Marriott
2009-07-11When rebooting, pass a request to the PROM for it to skip diagnostics andMiod Vallat
memory initialization. This reduces memory test and initialization time from a "in soviet russia, memory test you" time of over 2 minutes for 1GB on Origin 200, to a more reasonable 12 seconds (and on a Fuel with 2GB, time goes down from 6 seconds to under a second).
2009-07-11When pasting, translate \n into \r. This matches xterm and putty's behaviour,Nicholas Marriott
and makes emacs happy when pasting into some modes. A new -r (raw) flag to paste-buffer pastes without the translation. From Kalle Olavi Niemitalo, thanks!
2009-07-11Copy was using the real line length which after resize can be larger than theNicholas Marriott
screen width. When built with -DDEBUG, this made the grid bounds checking code kill the server. Restrict copying to the actual width. From Kalle Olavi Niemitalo, thanks.
2009-07-11Nuke an '__inline' that upset clang. Multi-line function should notKenneth R Westerback
be inline anyway. Found by jsg@. The last kernel file that clang complains about. ok marco@ jsg@
2009-07-11- Add some new feature flagsStuart Henderson
- Add defines for newer chipsets From FreeBSD via Brad. No functional change, needed for future work. ok naddy@.
2009-07-11Ensure that we hold the appropriate lock before callingJoel Sing
sr_ioctl_createraid(). ok marco@
2009-07-11synchronize the synopsis and usage of mopa.out(1); mopchk(1) can handleIgor Sobrado
more than one filename at a time; add a description for -3 and -4 in mopd(8), and document -v; remove a duplicate flag in mopprobe(1); use a better style for synopses; sort flags and arguments. written with help by jmc@ ok jmc@
2009-07-11timeout_add -> timeout_add_msecBret Lambert
Been running this on my laptop for a while now with no apparent ill effects. originally from a longer list from grange@ ok krw@ as part of that list
2009-07-11fix the RTM_VERSION check in the evil loop to really getRainer Giedat
all the interfaces ok sthen@
2009-07-10List additional re(4) devices supporting IPv6 TCP/UDP checksum offload.Stuart Henderson
From Brad.
2009-07-10syncStuart Henderson
2009-07-10add a couple of NVIDIA MCP77 PCI-ISA bridges, from Brad.Stuart Henderson
2009-07-10RL_HWREV_8168DP can be either RTL8168DP or RTL8111DP, so print both,Stuart Henderson
as done for other RTL8168 HWREVs. From Brad.
2009-07-10Swap the hardware revision IDs for 8169S and 8110S. Agrees with theStuart Henderson
labelling on naddy@'s PCI cards. From Brad.
2009-07-10check 4 (instead of merely 2) addr bits for probing sdtemp(4) chips; ok deraadtConstantine A. Murenin
2009-07-10Delay creation of tun(4) interfaces until the underlying interface andJason Dixon
routes are available. This fixes usage for some OpenVPN users that start it from hostname.tun*. Tested by Johan Huldtgren. ok sthen@, johan@.
2009-07-10paste-buffer -d was not documented. From Kalle Olavi Niemitalo.Nicholas Marriott
2009-07-10fix the complement in the 2's complement patch from yesterday; ok deraadtConstantine A. Murenin
2009-07-10Redraw the status line after renaming a session (it may contain the name).Nicholas Marriott
2009-07-10Switch away from using -traditional-cpp to iso/ansi cpp for asm files.Jonathan Gray
More architectures hopefully to follow. ok kettenis@
2009-07-10Advance the pointer past the message on the routing socket whereStuart Henderson
ifm_version is not RTM_VERSION - the for() loop doesn't do this itself. Fixes endless loop introduced by preceding commit, noticed by marc@. ok claudio.
2009-07-10rework link state handling a bit. this reports missing link correctly. theDavid Gwynne
old code showed the nic as active all the time, which makes it suck as part of a trunk. testing and ok by reyk@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok mglocker@
2009-07-10Don't send initialisation strings is1/2/3 (barely anything else does) and moveNicholas Marriott
smcup to the first and rmcup to the last sequences output to the terminal. This allows tmux to use the alternate screen (smcup/rmcup) when available.
2009-07-10billenium was in september, apparently;Jason McIntyre
from Mikolaj Kucharski
2009-07-10Add a default-terminal option to set the starting value of $TERM in newNicholas Marriott
windows. This is "screen" by default and must be either that or something closely related. This does makes it easier to customise it if necessary.
2009-07-10Document display-time option which seems to have been missed.Nicholas Marriott
2009-07-10We should be using the $SERVERLISTALL (not the url-only $SERVERLIST) toTheo de Raadt
decide to talk-back. Sigh.
2009-07-10support onsemi's cat34ts02 and cat6095; ok deraadtConstantine A. Murenin