summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-16revisison -> revisionray2-5/+5
2010-07-16Combine two diff_output lines into one, from diff.ray2-18/+10
OK stsp xsa nicm
2010-07-16Move the description of load averages/top line to a better place.lum1-8/+7
Suggestions and ok canacar@
2010-07-16fix up the mini synopses in the subsections; fix from ingojmc1-9/+27
2010-07-16more timing paranoia - compare all parts of the expected decrypteddjm1-4/+6
data before returning. AFAIK not exploitable in the SSH protocol. "groovy" deraadt@
2010-07-16diff exits 2 on error, not 1.ray1-2/+2
OK millert
2010-07-16We never create or destroy pmaps from interrupt context, so wrapping thekettenis1-7/+1
associated pool calls in splvm()/splx() is unnecessary and confusing. ok deraadt@, drahn@
2010-07-16Make the terminal checking capability of systat better.lum3-4/+49
Checks taken from top(1) screen.c/init_termcap() ok canacar@ sthen@ nicm@
2010-07-16avoid bogus compiler warningdjm1-2/+2
2010-07-16gc sc_lock. it is unused. ioctl commands can run concurrently now thatdlg1-5/+1
iopools handle sleeping for ccbs.
2010-07-16Text ending in a full stop, exclamation mark or question markschwarze5-21/+23
should not flag the end of a sentence if: 1) The punctuation is followed by closing delimiters and not preceded by alphanumeric characters, like in "There is no full stop (.) in this sentence" or 2) The punctuation is a child of a macro and not preceded by alphanumeric characters, like in "There is no full stop .Pq \&. in this sentence" jmc@ and sobrado@ like this
2010-07-16After .Sm on, spacing ought to restart right away, before the next token,schwarze1-3/+5
and not with a delay, after the next token. But be careful not to cause leading white space at the beginning of a line or column. Improves chmod(1), ksh(1), tar(1), ps(1) and probably many more. ok kristaps@ jmc@ sobrado@
2010-07-15when mpii(4) gets an async event (ie, sas topology change ordlg1-23/+50
integrated raid has changed state) that needs an acknowledgement, it currently goes scsi_io_get. because events are handled at interrupt time it cannot wait for ccbs, so if the ccb pool is empty, it wont get a ccb to ack the event with. this cuts the code over to using iohandlers to ack these events. when an ack is required, it shoves the rcb onto a queue and schedules an iohandler to be run whenever a ccb becomes available. the majority of the time the ccb will be there and the reply will happen immediately. however, if the hba is busy we might be deferred until some other command completes and gives its ccb back to the pool. because it looks like we can now receive many events at a time (rather than just one at a time like in mpi), im using a queue to store the events in. the alternative was an iohandler per rcb, but that struck me as a bit too heavy. mikeb is really impressed no objection from krw@
2010-07-15document .Sm; prodded by kristaps@schwarze1-2/+14
2010-07-15some escapes i missed;jmc2-7/+7
2010-07-15cvs and rcs use diff_output() to print everything since it is notray1-52/+50
always to stdout. A large number of differences are due to this. This diff reduces many more differences between diff and cvs/rcs. Personally I think it's kinda ugly. =( "Looks fine" millert
2010-07-15repair incorrect block nesting, which screwed up indentation;schwarze1-3/+3
problem reported and fix OK by jmc@
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,schwarze13-49/+49
who asked me to commit because he is just running out of the door.
2010-07-15According to Linux ath9k, the AR9280 1.0 was never sold.damien3-57/+17
Since this is the only chip revision that requires split TKIP MIC keys, remove code that deal with that.
2010-07-15remove dead code (AR9286 1.1 does not really exist.)damien1-16/+2
2010-07-15When the first argument or arguments of a macro are opening delimitersschwarze3-22/+22
(parentheses and/or square brackets), both modern groff and mandoc first output those leading delimiters as plain text, then start the macro scope after these opening delimiters. This is similar to printing trailing punctuation and trailing closing delimiters on a macro line outside and after the macro scope. For example, ".Sq ( text )" is "(`text')", not "`(text)'". Thus, we now need to quote leading opening delimiters when we want them inside the macro scope. These are the cases in src/bin. "makes sense" jmc@
2010-07-15sync ar5008_bb_load_noisefloor() with ar9003_bb_load_noisefloor().damien1-6/+6
we must not restore the noisefloor values if load failed on AR5008 family too.
2010-07-15fix PDADC value for target index (AR5008 family only.)damien1-2/+2
2010-07-15On AR9285, the antCtrlCommon ROM field may have the upper 16 bits set.damien4-8/+8
Remove an incorrect mask to fix antenna diversity on some chips.
2010-07-15sync initialization values for AR9160 and AR9280 with ath9k.damien2-238/+240
see http://marc.info/?l=linux-wireless&m=127802223525594&w=2 for the list of changes/fixes.
2010-07-15Remove initialization values for chips that never made it into production:damien8-1186/+49
- AR9280 1.0 - AR9285 1.0 and 1.1 - AR9287 1.0 Remove checks that are now useless since we know we will never see those chips, and rename some functions.
2010-07-15Remove unused arguments from check(). From cvs/rcs.ray1-4/+4
OK millert
2010-07-15Die immediately if pread fails. It's a fatal error so treat it asray2-12/+6
such. Besides, we weren't handling the NULL being returned. From diff. Minor nit by nicm. OK xsa stsp nicm
2010-07-15Use warnx instead of warn since errno wasn't set. From diff.ray1-2/+2
OK xsa stsp nicm
2010-07-15sync the elf types and their comments; ok millertjmc1-8/+6
2010-07-15document the missing "note section";jmc1-3/+33
reported by Michael Kerrisk, freebsd pr 147995 big thanks to miod and millert for filling in the blanks
2010-07-15knock out MetaGeek Wi-Spy 2.4i from attaching to uhid.sthen1-1/+2
2010-07-15syncsthen2-4/+16
2010-07-15add MetaGeek Wi-Spy 2.4isthen1-1/+5
2010-07-15store openssl error output during verification, and log it if it didn't work.espie1-3/+15
2010-07-15Correct function in panic string. From Christophe Fillotclaudio1-2/+2
2010-07-15Sync with diff/diffreg.c r1.75:ray2-10/+8
Return -1 on error as advertised. Handle case when only one stream failed. OK xsa, stsp
2010-07-15whitespaceespie5-39/+39
2010-07-15m_getptr(m, 0, ...) may return an mbuf different from m -- if m has noclaudio1-6/+6
data in it. m_getptr() hops over empty buffers and points to the first allocated data byte. Because of this the m_dup_pkthdr() call done by m_copym0() can panic because not the first mbuf is passed. Found the hard way by myself, diff by blambert@ commiitting for him since he is not around. Tested and OK myself
2010-07-15* Comment poll support in conf.hmglocker2-3/+8
* Comment why we call the video interrupt in the mmap interface now in uvideo.c
2010-07-15add two new members to structs audio_encoding and audio_prinfo.jakemsr43-224/+505
for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt
2010-07-15limit the pools from 14 bits down. We cannot use PAGE_SIZE because itderaadt1-3/+3
is a variable on sparc. This should be revisited... after the arguments for pagesize vs 4K complete :)
2010-07-15the uvm_km_putpage is calling into tangly uvm guts again on not pmap direct.tedu2-22/+64
go back to something more like the previous design, and have the thread do the heavy lifting. solves vmmaplk panics. ok deraadt oga thib [and even simple diffs are hard to get perfect. help from mdempsky and deraadt]
2010-07-14syncsthen1-2/+1
2010-07-14sync from mirrors.datsthen1-58/+61
2010-07-14pass the correct af if not specified.dhill1-3/+3
fixes printing active connections twice. ok claudio@
2010-07-14Return -1 on error as advertised.ray1-5/+4
Handle case when only one stream failed. OK otto, millert
2010-07-14implement poll() for video(4)jakemsr4-23/+96
ok mglocker
2010-07-14The append side of a socketbuffer is not allowed to call sbflush().claudio1-3/+1
Learned the hard way. dlg@ confirmed that it is save to just remove them, the desync will still work but the reader needs to dequeue all packets first.
2010-07-14In urndis_decap(), delay the memcpy() for as long as possible. There ismk1-8/+9
no point in copying before having done the final sanity check (we copied before the last one). ok armani