summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffdir.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-08-04Print supported sleep states.kettenis1-1/+3
ok marco@, phessler@, deraadt@
2010-08-04Correct a problem reported by Holger Mikolon that turns out to bejsg1-4/+3
a bug in the initial EP80579 commit from dms that was exposed by gcc4. Lots of help tracking down the block of code at fault from Mike Belopuhov, but I spotted the problem in the end :) ok kettenis@ deraadt@
2010-08-04Print the MTU in OSPF dd packets. Borrowed from the ospf6 printer.sthen2-4/+5
ok claudio@ deraadt@
2010-08-04activate function for suspend/resume; tested by mcbridederaadt1-2/+34
2010-08-04Set an appropriate To: header in /var/mail/$user which is copied fromhalex1-2/+4
/var/mail/root idea and first version from deraadt@, ok deraadt@ krw@
2010-08-04clean for -Wuninitializeddjm1-2/+2
2010-08-04Support CA keys in PKCS#11 tokens; feedback and ok markus@djm2-13/+63
2010-08-04Add the new kqueue+rfork test, but disable the tests that use RFMEMguenther1-2/+5
as they don't work right now
2010-08-04Regression test for the recent rfork+kqueue fixguenther2-0/+55
2010-08-04tun* interfaces are now automatically destroyed on last close whenguenther1-3/+1
originally created by opening /dev/tun*
2010-08-04Confirm that a NOTE_EXIT knote is delivered when the child exitsguenther1-3/+19
Fix a C thinko
2010-08-04commited the wrong version of the hostbased certificate diff; thisdjm1-5/+7
version replaces some strlc{py,at} verbosity with xasprintf() at the request of markus@
2010-08-04enable certificates for hostbased authentication, from Iain Morgan;djm7-19/+115
"looks ok" markus@
2010-08-04tighten the rules for certificate encoding by requiring that optionsdjm2-11/+15
appear in lexical order and make our ssh-keygen comply. ok markus@
2010-08-04Remove mentions of weird "addr/port" alternate address format for IPv6djm3-47/+13
addresses combinations. It hasn't worked for ages and we have supported the more commen "[addr]:port" format for a long time. ok jmc@ markus@
2010-08-03Trivial patch to get correct spacing from the recently introducedschwarze1-3/+3
user-defined string \*(Pu (punctuation character list) by using non-breaking non-compressing instead of normal spaces. Works with mandoc, new groff and even with old groff. Tree is locked, but deraadt@ says i'm still allowed to polish manuals.
2010-08-03if interrupt mapping fails, say sojakemsr1-1/+2
ok deraadt
2010-08-03Remove old code that figures out the PCI bus number. The new code gets somekettenis1-87/+5
corner cases right that the old code messed up. As a bonus, this noticibly speeds up booting my Dell XPS M1330. ok deraadt@, marco@, jordan@
2010-08-03that had to be addedhenning1-2/+3
2010-08-03no special registers to restore on via chips eitherderaadt1-2/+3
2010-08-03regenmiod22-25/+35
2010-08-03Create two more usb device nodes by default, as modern Apple hardwaremiod1-2/+2
(among others) attaches *eight* uhub devices. From remco at d-compu, dyndns org; ok deraadt@
2010-08-03Don't attempt to set the read or write caches on usb disks. Itkrw1-1/+4
breaks at least one previously working device, as discovered by naddy@. dlg@ confirmed other kernels also avoid attempting this operation on usb disks. ok dlg@ deraadt@
2010-08-03fix linecount bug with comments spanning multiple lineshenning19-57/+76
problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 applied to all the others by yours truly. ok theo isn't it amazing how far this parser (and more) spread?
2010-08-03Bring the suspend/resume code of all the Intel wireless drivers in line withkettenis5-16/+46
iwn(4) again. ok deraadt@
2010-08-03missed one if (continued) test, so simplify logic: test continue beforehand.espie1-4/+11
fixes display after ^Z/fg. (problem pointed out by Theo)
2010-08-03Add busy flag so that we don't act on a SCI until a command in progressmarco2-3/+13
completes. Written with jordan. ok deraadt
2010-08-03Add support for 82576 fiber adapters based on Intel code in FreeBSD.jsg2-8/+155
Thanks to Frédéric URBAN for setting up a test network to develop this on. Tested by various people on copper adapters and fiber support also tested by mickey. ok deraadt@
2010-08-03Use the proper flag for re-enabling certain hardware events (power btn,mlarkin1-3/+3
sleep btn). The (incorrect) flag prevoiously used coincidentally had the same value, so this shouldn't cause any different behavior than before. tested on a variety of machines (i386, amd64, sp, mp) - no behavioral change seen ok deraadt@
2010-08-03Disable hardware VLAN stripping/insertion on 8257[56] for now. Whilejsg1-2/+3
stripping works insertion seems to have trouble in certain conditions, which needs to be fixed before we want to enable hardware support for this. ok deraadt@
2010-08-03Correct use of logical and where binary and was intended.jsg1-2/+2
Spotted by lint, but mirrors a similiar change in the original FreeBSD code from over a year ago. ok deraadt@
2010-08-03shrink! :)espie1-5/+0
2010-08-03sort journal messsages in a better way, put - before +, so that one canespie2-8/+14
see deinstall info before new install info (prompted by a comment from tedu@)
2010-08-03bug-fix: during updates, only set oldfound after we found a matching pkgpath.espie1-6/+7
that way, we detect pkgpath problems as "can't update" instead of silently ignoring them (gconf2 issue).
2010-08-03use proper log idiom (blanket okay from theo for pkg_add careful changes forespie1-2/+2
the time being)
2010-08-03Save/restore BLC_HIST_CTL as well at suspend/resume time; which allowsderaadt2-0/+4
the x40 LCD to light up after unsuspend. https://bugzilla.kernel.org/attachment.cgi?id=23409 https://bugzilla.kernel.org/show_bug.cgi?id=10985 ok oga
2010-08-03When the target pointer 'pwcs' passed to mbsrtowcs() is NULL, mbsrtowcs()stsp1-15/+9
is supposed to ignore the 'n' parameter and return the number of wide characters needed to represent the given multi-byte character sequence. However, in the special case where 'pwcs' is NULL and 'n' is zero, our mbsrtowcs() implementation for single-byte locales mistakenly returned zero. Before the UTF-8 locale was added, this bug was invisible to callers of mbstowcs() because mbstowcs() handled this special case itself. But our new mbstowcs() implementation simply forwards to the locale-specific mbsrtowcs() implementation and expects it to do the right thing. The "awesome" window manager's "Run:" command prompt uses mbstowcs() to measure how many (possibly multi-byte) characters a user has typed, and due to this bug would always be tricked into thinking the user had entered zero characters when a single-byte locale was used. Found after prodding by dcoppa. ok deraadt sthen espie
2010-08-03Fix a usage of logical and where binary and was intended.jsg1-2/+2
Spotted by Mike Belopuhov. ok jsing@ deraadt@
2010-08-03Fix a leak in ypldap. Found (and correct diff) frompyr1-1/+2
plalonde (at) overnet.qc.ca Prompted by deraadt@
2010-08-03matthew did not commit the diff he passed around for us to inspect...deraadt1-2/+2
repair that situation. Darn newbies...
2010-08-03If an asynchronous request invalidates a buf, then we might remove itmatthew1-6/+10
from its vnode's buffer cache in an interrupt context. Therefore we need interrupt protection when searching the buffer red-black tree. ok deraadt@, thib@, art@
2010-08-03Group string comparisons and supply more helpful comments. Addkrw1-31/+15
"total sectors" to "boundstart" and "boundend" in the list of fields that are left alone during a RESTORE operation. ok deraadt@
2010-08-03Start with the default label when RESTORE'ing a saved ascii label.krw1-2/+4
This ensures that all physical fields are filled in with current values. Lack of values (boundstart, boundend in particular) noted by ray@. ok deraadt@
2010-08-03tweaks from jmc@:schwarze1-38/+43
* correct a few obvious mistakes * adopt some of jmc@'s recent changes to man(7) * cut down just a little on the awful tendency to stick a hyphen between two words. "yes" deraadt
2010-08-02Handle USB_GET_REPORT, USB_GET_REPORT_DESC, USB_GET_REPORT_ID andmiod6-89/+126
USB_SET_REPORT ioctls in ukbd and ums. This allows usbhidctl to be used on these devices e.g. to dump the report descriptor of troublesome models. ok deraadt@
2010-08-02Don't refer to xs->cmd, even via a pointer to xs->cmd, after xs haskrw1-2/+2
been put back in the pool. Fixes Daniel Dickman's ses device. ok matthew@ deraadt@
2010-08-02Make MHZ_TO_PLL safer to use by adding parenthesis. Fixes a potential issuekettenis1-5/+5
in agten(4) uncovered by gcc4. ok miod@, deraadt@
2010-08-02Fix knote handling for exiting processes: when triggering a NOTE_EXITguenther3-6/+28
knote, remove it from the process's klist; after handling those, remove and drop any remaining knotes from the process's klist. Ban attaching knotes to processes that have started exiting or attaching them via the pid of a thread other than the main thread. ok tedu@, deraadt@
2010-08-02There is no reason to call the start function upon resume; the network stackkettenis1-4/+2
is perfectly capable to get things going again all by itself. ok deraadt@
2010-08-02There is no reason to call the start function upon resume; the network stackkettenis1-5/+2
is perfectly capable to get things going again all by itself. ok damien@, deraadt@