summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-08Lower debug level back, looks like i've found that data corruption bug.grange1-2/+2
2009-02-08Add missing mux locators to non-USB keyboards and mice.kettenis1-6/+6
ok miod@
2009-02-08Put back bzero'ing cmd structure before filling it in which was lostgrange1-1/+2
during driver rewritting at h2k7.
2009-02-08deal with potential empty string fgets can returnchl1-7/+7
use strcspn to properly overwrite '\n' in fgets returned buffer ok ray@ jaredy@ looks ok gilles@ long time ago on a similar diff
2009-02-08add .St -p1003.1-2008 for posix standard IEEE Std 1003.1-2008;jmc1-2/+6
2009-02-08Temporary enable full debug to make it easier to commit diffs.grange1-2/+2
2009-02-08ips is not a real scsi controller and not supposed to talk directly togrange1-2/+4
various flacky scsi hardware (at least until passthrough implemented). So reduce huge default scsibus timeout values to somewhat reasonable.
2009-02-08Use sc_print_addr() to report drive errors.grange1-2/+2
2009-02-08Add drive state definitions.grange1-1/+8
2009-02-07some tweaks for previous that got missed;jmc2-6/+8
2009-02-07Restore the original help output: capitalize the characters thatnaddy1-5/+5
are required to uniquely identify a command. Three characters are required for the cdplay and cdrip commands. ok krw@
2009-02-07malloc(n * m) -> calloc(n, m);chl1-3/+3
ok ray@ moritz@
2009-02-07remove leftover from mdoc.samples; ok jmc@martynas3-9/+6
2009-02-07add missing headers needed for warn() and err().chl6-9/+15
ok claudio@ ray@
2009-02-07Ensure that *wp isn't NULL.kili1-2/+2
ok otto@
2009-02-07Unifdef __OpenBSD__, these defines don't help us to sync with NetBSDgrange1-20/+2
anymore but make reading the code harder. ok sthen@ miod@ krw@
2009-02-07Make built-in echo behave according to POSIX when set -o posix is in effect:guenther3-21/+56
the only option is -n, and only one of those is parsed. diff from Ingo Schwarze ok otto@ kili@; manpage changes ok jmc@
2009-02-07Match on native/legacy MCP79 SATA ids.jsg1-1/+17
From/Tested by Laurence Tratt on an asus p5n7a board.
2009-02-07regenjsg2-34/+34
2009-02-07Change MC79 SATA ids to reflect which mode they are currently operatingjsg1-13/+13
in "legacy" SATA/AHCI/RAID instead of flagging them all as AHCI. From Laurence Tratt
2009-02-06Split sti structures into rom-related information and screen-relatedmiod5-474/+593
information. This is preliminary work to help eventually supporting the dual-head ELK model. Also split the initialization code in several routines, this makes the code easier to read, and makes it easier to release resources upon failure. Finally, don't forget to clear the text planes on non-console displays when initializing.
2009-02-06Remove bogus casts of integer constants SPPPIO[GS]DEFS to caddr_tgrange3-14/+14
and fix typo while here. ok canacar@
2009-02-06rename a #define to be clearer; no binary changestevesk2-5/+5
ok henning@
2009-02-06regengrange12-103/+105
2009-02-06Bump the number of /dev/sd* files on usb-capable archs. With moderngrange12-24/+24
all-in-one usb card readers and memory sticks you run out of sd device files very quickly with default install. This doesn't affect install media. ok krw@ miod@
2009-02-06The new font selection logic would loop and consume all kmem on promsmiod1-2/+2
with only one font (such as many 712 onboard graphics). Oops again (poukram).
2009-02-06Fix crash on zaurus when sd memory card plugged by providing an attachmentgrange2-5/+5
structure that slave devices like sbt expect.
2009-02-06remove unused variables.chl1-3/+1
ok henning@ michele@
2009-02-06merge the "should work" hardware list into the main body - it is going tojmc1-331/+169
be very hard to maintain such lists, it is inconsistent, and of limited use; ok krw miod
2009-02-06- fix run_mcu_cmd(). it has the side-effect of fixing LEDs.damien1-43/+59
- fix run_rt3070_rf_write() for RT3070 - fix HW WEP for those who still care - add quirks required for RT3070+RT3020 committed over an EDIMAX EW-7711UAn (RT3070+RT3020)
2009-02-06typomiod1-2/+2
2009-02-06Replace comparision between boolean expression result and an integergrange2-4/+4
that may confuse gcc with a simple boolean expression. ok reyk@
2009-02-06regengrange20-60/+60
2009-02-06Use $Mdocdate$ instead of date(1).grange1-2/+2
ok miod@
2009-02-06add Huawei E160G; reported by Pedro la Peusthen1-1/+2
2009-02-06Fix kernel crash (page fault) for devices with unsorted frame index.mglocker1-3/+3
Problem reported by Kenji Aoyama
2009-02-06fix typo (huawei e619g -> e169g). umsm.c log agrees (as pointed out by jsg)sthen1-3/+3
as does the number of results in a popular search engine. ok jsg@
2009-02-06simplify the clock tick messages generation code and ensuire thatratchov2-22/+28
the first clock tick (ie the start tick) is not lost
2009-02-06move error messages reported to user into main()ratchov4-19/+19
2009-02-05when calling ssl_session_destroy() from mta, our session will have a NULLgilles1-2/+8
s->s_l field. this commit fixes a crash in mta caused by a NULL deref.
2009-02-05Revert 1.54 and build debug libs on hp300 too.miod1-2/+2
2009-02-05fix uninitialized var (in a code path that is not used yet).damien1-1/+2
found by chl@ using llvm/clang
2009-02-05fix format stringchl1-2/+2
ok naddy@
2009-02-05Remove the BUS_DMA_NOCACHE flag from all azalia dma mappings.oga1-5/+2
The fact that this has only just been implemented, and that this hardware is only found on x86 shows that this flag should not be needed for operation of this hardware. It's been here since the initial netbsd commit the code came from. "sounds good to me" jakemsr@, ok kettenis@.
2009-02-05Mirroring the i386 commit just made. Add MD PMAP_NOCACHE flag to pmap,oga4-6/+18
and use it to implement BUS_DMA_NOCACHE for uncached mappings of dma memory. Needed for some broken hardware. Discussion with art, miod, kettenis and toby, ok miod.
2009-02-05add MD PMAP_NOCACHE flag to i386 and use it to implement theoga4-6/+17
BUS_DMA_NOCACHE flag with guarantees that the dma memory will be mapped uncached. Some broken/odd hardware needs this. discussion with miod, toby, art and kettenis. ok miod.
2009-02-05Add some (currently unused) MD pmap flags to be used for pushing inoga1-1/+5
parameters such as cacheability, which is too different per-arch to be MI. discussed with miod, kettenis and art. ok miod@, art@.
2009-02-05Fix slight logic error in a previous commit.oga2-2/+2
2009-02-05KNF, and remove a debug printf I missed.oga1-33/+31
2009-02-05KNF, no change to behaviour.oga1-57/+59