bouyer
c31b572a47
Allow polled commands to be queued, if ata_exec_xfer() is called in thread
...
context. For this introduce 3 new xfer tags:
- C_WAIT, equivalent of AT_WAIT
- C_WAITACT, when there is a thread waiting on this xfer to become the active
one (that is, to be at the head of the queue)
- C_FREE, set by ata_free_xfer() when it can't free the xfer because it's
still in use. The holder should then free the xfer ASAP.
If ata_exec_xfer() is called with (C_POLL | C_WAIT), and there is already
xfers to be processed, assert C_WAITACT and sleep.
atastart() checks for C_WAITACT, and wakeup the thread waiting for this xfer
to become active if set. atastart() won't process this xfer, it's the
responsability of the thread waked up to handle it.
Fix (the right way) kern/27421 by Martin Husemann.
2004-10-30 23:10:37 +00:00
dsl
58d3abc94f
Add (unsigned char) cast to ctype functions
...
Stop infinite loop if get lower case char with no upper case equiv.
2004-10-30 21:52:09 +00:00
dsl
e2a58c7a44
Add (unsigned char) cast to ctype functions
...
A password containg 80...ff could be reported (incorrectly) as being
all lower case.
2004-10-30 21:05:53 +00:00
dsl
dfdc37e2fe
Add (unsigned char) cast to ctype functions
2004-10-30 20:56:20 +00:00
dsl
108eb2ab42
Add (unsigned char) cast to ctype functions
2004-10-30 20:39:35 +00:00
dsl
06dd932c49
Add (unsigned char) cast to ctype functions - Char is unsigned char.
2004-10-30 20:37:35 +00:00
dsl
5355c81879
Add (unsigned char) cast to ctype functions
2004-10-30 20:17:19 +00:00
mbw
7c1ffafac2
Change to fix PR 25689 for Swedish ADB keyboards
...
- KC(52), KS_Mode_switch,KS_Multi_key,
+ KC(58), KS_Mode_switch,KS_Multi_key,
2004-10-30 20:13:15 +00:00
dsl
807394cff5
Add (unsigned char) cast to ctype functions
2004-10-30 19:34:01 +00:00
christos
027df12dd8
Pass WARNS=3
2004-10-30 19:29:27 +00:00
christos
175795754a
WARNS=3, and remove comment about WFORMAT issues.
2004-10-30 19:28:35 +00:00
christos
a7e7123b05
- KNF, WARNS=3, pass lint.
...
- Simplify octal parsing code.
2004-10-30 19:28:10 +00:00
thorpej
fc44282f79
Use elf32-hppa-netbsd output format.
2004-10-30 18:38:38 +00:00
thorpej
e9818f5b5e
When adding/deleting multicast addresses, only whack the address
...
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 18:08:34 +00:00
dsl
b23af931be
Add (unsigned char) cast to ctype functions
2004-10-30 17:43:02 +00:00
dsl
c28aa2083f
Add (unsigned char) cast to ctype functions
...
Change a couple of local buffers to 'unsigned char'
2004-10-30 17:37:09 +00:00
dsl
e833833eb1
Add (unsigned char) cast to ctype functions
2004-10-30 17:29:47 +00:00
dsl
eee0442cb4
No need to call isupper() before tolower()
2004-10-30 17:27:28 +00:00
dsl
25b3737cd3
isupper(x) can be true for x in [128..255], but since tolower(x) is required
...
to return x if it cannot be translated we don't need the isupper() test.
2004-10-30 17:25:34 +00:00
dsl
43371ff1ac
Add (unsigned char) cast to ctype functions
2004-10-30 17:17:35 +00:00
bouyer
235e7412c1
Revert 1.215, with a comment explaining why we can't use interrupts here.
2004-10-30 17:17:21 +00:00
dsl
78f35b774e
Add (unsigned char) cast to ctype functions
...
Add fpurge(stdin) before prompt - unexpected question.
for usr.bin/crontab
2004-10-30 17:14:36 +00:00
dsl
3145a29f62
Add (unsigned char) cast to ctype functions
2004-10-30 17:08:12 +00:00
dsl
f77de37ccc
Use strtoul() for integer conversion
2004-10-30 17:02:20 +00:00
dsl
8383dcf78c
Add (unsigned char) cast to ctype functions
2004-10-30 16:57:27 +00:00
dsl
ee9ce6e95c
Add (unsigned char) cast to ctype functions
...
Make 'queue' and 'atqueue' unsigned char.
2004-10-30 16:55:06 +00:00
dsl
3cca093e74
Add (unsigned char) cast to ctype functions
2004-10-30 15:51:20 +00:00
dsl
9122339b9f
Add (unsigned char) cast to ctype functions
2004-10-30 15:39:39 +00:00
dsl
c4670c4ec7
Add (unsigned char) cast to ctype functions
2004-10-30 15:28:45 +00:00
dsl
e2f49bd9e2
Add (unsigned char) cast to ctype functions
2004-10-30 15:15:37 +00:00
dsl
9efede97a9
Add (unsigned char) cast to ctype functions
2004-10-30 15:04:45 +00:00
dsl
968ad08000
Stop argument to ctype function being char
2004-10-30 15:01:32 +00:00
dsl
3ab2c084c9
Add (unsigned char) cast to ctype functions
2004-10-30 14:31:45 +00:00
darrenr
541f8060fe
In going from 3.4.x to 4.1.x, "state-age" became "age" but the input grammar
...
did not allow for backwards compatibility.
PR: kern/27590
2004-10-30 13:33:58 +00:00
skrll
59abd634ef
We emulate more than SVR4, and IBCS2 on the i386 and Linux on the i386
...
and the Alpha there days. Remove this statement in a comment.
2004-10-30 09:38:15 +00:00
dsl
e7df4576bb
Add (unsigned char) cast to ctype functions
2004-10-30 08:56:00 +00:00
dsl
03f1c17583
Add (unsigned char) cast to ctype functions
...
The argument rules suck.....
2004-10-30 08:54:51 +00:00
dsl
f7571bacc2
Add (unsigned char) cast to ctype functions
2004-10-30 08:46:12 +00:00
dsl
75ba9fc767
Add (unsigned char) cast to ctype functions
...
Some of this code could usefully be converted to use strtoul() and/or
some small helper functions.
2004-10-30 08:44:25 +00:00
dsl
8668419e38
Add (unsigned char) cast to ctype functions
2004-10-30 08:34:24 +00:00
dsl
c32255add6
Add (unsigned char) cast to ctype functions
...
Change validation of -t<number> to use return ptr of strtoul (not isdigit)
2004-10-30 08:31:39 +00:00
dsl
e26801d6fb
Use unsigned char * variables when scanning buffer - saves casts and & 0xff
2004-10-30 08:22:40 +00:00
dsl
91fe418901
Add (unsigned char) cast to ctype functions
2004-10-30 08:19:30 +00:00
dsainty
b95d1a22d4
Correct spelling of hierarchy in a comment, and tab around RCSID
2004-10-30 05:16:13 +00:00
dsl
cfe7f80ff0
Add (unsigned char) cast to ctype functions
2004-10-29 20:51:11 +00:00
dsl
e09553f3ac
Add (unsigned char) cast to ctype functions
2004-10-29 20:33:06 +00:00
dsl
238960af7e
Add (unsigned char) cast to ctype function
2004-10-29 19:51:36 +00:00
dsl
26207dda78
Add (unsigned char) cast to ctype functions
2004-10-29 19:46:27 +00:00
dsl
404e35b651
Add (unsigned char) cast to ctype function, reworked to fit on one line
2004-10-29 19:32:22 +00:00
dsl
2722aff86f
Add (unsigned char) cast to ctype function (for /sbin/setkey)
2004-10-29 19:31:04 +00:00