Commit Graph

220309 Commits

Author SHA1 Message Date
dholland
a72799bb86 WARNS=5 2013-08-11 03:44:27 +00:00
dholland
09e313dddd typo in comment 2013-08-11 03:34:48 +00:00
dholland
7229854715 this already passes WARNS=5 2013-08-11 03:27:02 +00:00
matt
89317f999d Use push/pop 2013-08-11 03:09:41 +00:00
matt
ef763f80c4 Use unified syntax for conditional instructions
Use RETc/RET
2013-08-11 03:00:05 +00:00
matt
9706216381 fix conditional instructions to conform to unified syntax
use push/pop
use RET/RETc
2013-08-11 02:53:18 +00:00
matt
4de8c8ef33 Change r12 -> ip
Change all condition instructions so they pass unified syntax
2013-08-11 02:45:56 +00:00
dholland
7c248df2ae Whitespace. 2013-08-11 01:54:35 +00:00
dholland
eac2170da1 Add some cases pertaining to another bug I just fixed. 2013-08-11 01:50:02 +00:00
dholland
8d0b47d1c9 Fix another bug, relating to parsing the [=x=] syntax. 2013-08-11 01:49:40 +00:00
dholland
aba78f7512 Tidy up more. This is pretty ratty code. 2013-08-11 01:42:35 +00:00
dholland
5e8eff378e Tidy up. 2013-08-11 01:29:28 +00:00
dholland
9f2ae0ea3d Pass -Wpointer-sign. 2013-08-11 01:00:13 +00:00
dholland
d506ddf6f7 avoid undefined behavior. 2013-08-11 00:52:17 +00:00
dholland
8a7a973b90 Don't explicitly zero bss variables that are already zeroed. 2013-08-11 00:49:15 +00:00
dholland
c47da08424 Add comments explaining how this works. 2013-08-11 00:48:37 +00:00
dholland
8b42fe334c Simplify the parser handling. 2013-08-11 00:39:22 +00:00
dholland
e141bc4323 Remove silly written-out initialization of string1. 2013-08-11 00:34:09 +00:00
dholland
88d97c8162 Remove xfail for PR 48113. 2013-08-11 00:29:21 +00:00
dholland
848d757378 Make tr -c work. Fixes PR 48113.
When -c is in effect, scan string1 first, complement it, and then
iterate over the results while scanning string2. Otherwise, scan
string1 and string2 together as before.
2013-08-11 00:28:46 +00:00
dholland
567ab40d47 apply some CSE 2013-08-11 00:12:47 +00:00
dholland
9dd74a9973 Restore preexisting wrong behavior of tr -c (translates all characters
to the last letter in string2) instead of a different wrong behavior
(translates all characters to 0xff) accidentally just introduced.
2013-08-11 00:11:46 +00:00
dholland
48dbbc109e sprinkle const 2013-08-11 00:05:49 +00:00
dholland
7f7f549599 Make the parser state opaque. While here, fix a memory leak when using
the [:foo:] syntax.
2013-08-11 00:04:14 +00:00
dholland
d05d2aa5a7 Expose less of the parser state outside str.c. 2013-08-10 23:54:41 +00:00
tron
986f886c15 Fix tool build under Mac OS X by using gettimeofday(2) instead of
clock_gettime(2). This needs a proper auto-config check.
2013-08-10 23:25:35 +00:00
dholland
3577391ca2 +tp 2013-08-10 22:37:06 +00:00
dholland
36890ffbb0 Add tests for tr, including an xfail one for PR 48113. 2013-08-10 22:36:16 +00:00
jnemeth
e0e417bef7 PR/48112 - Kai-Uwe Eckhardt -- add support for Sitecom N300 USB WIFI adapter 2013-08-10 21:32:07 +00:00
sjg
7f708505a0 ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.
2013-08-10 21:20:03 +00:00
jnemeth
2250093bdf PR/48112 - Kai-Uwe Eckhardt -- add support for Sitecom N300 usb wifi adapter 2013-08-10 21:15:26 +00:00
dholland
3c77b25ade punctuation usage 2013-08-10 20:59:27 +00:00
matt
d650209479 Make these under Thumb2 2013-08-10 19:59:21 +00:00
matt
8f8ed13c79 Never modify NLO/NHI (r2,r3) only LO/HI (r0,r1) so subsequent loops will work. 2013-08-10 19:02:22 +00:00
matt
d86c65aadb Use r2 instead of ip 2013-08-10 18:45:12 +00:00
dholland
39ab77f3dd Silence -Wpointer-sign on crypt-sha1.c.
This requires casts, which is not entirely desirable; however, this way
at least no *more* pointer sign issues can creep in.

Output object files are unchanged on amd64.
2013-08-10 18:42:29 +00:00
matt
b8284f6dcd Use subs/sbc
Use push/pop
Don't adjust return for atomic_dec_64 since it's void and returns nothing
2013-08-10 18:40:19 +00:00
matt
617628a5a2 use push/pop 2013-08-10 18:39:48 +00:00
matt
8aac5a9bd0 Use push/pop 2013-08-10 18:39:25 +00:00
matt
fc14a14e9e use push/pop 2013-08-10 18:39:07 +00:00
matt
edb257bd2d cmpne -> cmp
Use push/pop
2013-08-10 18:38:33 +00:00
matt
d6ef347e93 Don't adjust return of atomic_inc_64 since it's void and doesn't return
anything.
2013-08-10 18:32:06 +00:00
matt
be0a794afa Fix add -> adds 2013-08-10 18:28:15 +00:00
dholland
90319e421c Redo -r1.53 correctly. 2013-08-10 18:14:21 +00:00
tsutsui
120fa04906 Make sure to check if the driver has a valid intr handler in virtio_detach().
Fixes a panic during shutdown on KVM under ubuntu 13.04 with virtio,
as reported in PR kern/48105 by Richard Hansen.

Should be pulled up to netbsd-6 branches.
2013-08-10 18:01:31 +00:00
mrg
cc564476de thanks to mhitch, we got all the interrupt issues sorted out for now,
so turn off PDB_INTR in the debug kernel.
2013-08-10 00:48:04 +00:00
lukem
2a4f324ee6 I don't have the resources to maintain OpenLDAP in NetBSD anymore. 2013-08-09 23:38:54 +00:00
aymeric
3ddee628a3 Comment out pseudo-device md so that ARMADAXP_INSTALL passes config(1).
Fixes evbarm releases.
2013-08-09 21:19:43 +00:00
jmcneill
b54c1c7c33 regen 2013-08-09 20:13:21 +00:00
reinoud
550f8483a8 Fix 32 bit issue in main file read-in function. On both 32 bit and 64 bit
hosts a missing cast would result in `garbage' after the 4Gbyte limit.
2013-08-09 20:13:18 +00:00