summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-03-08 04:43:38 +0000
committerschwarze <schwarze@openbsd.org>2014-03-08 04:43:38 +0000
commit1271a17716efd4835ba4982757147a9ab8813f7d (patch)
treef3d565b4191c43083bf427aec19e2533ec28aa5d /sys/dev/usb/uhub.c
parentIt's silly to check at compile time for DEV_BSIZE == 512. (diff)
downloadwireguard-openbsd-1271a17716efd4835ba4982757147a9ab8813f7d.tar.xz
wireguard-openbsd-1271a17716efd4835ba4982757147a9ab8813f7d.zip
Improve .if/.ie condition handling.
* Support string comparisons. * Support negation not only for numerical, but for all conditions. * Switch the `o' condition from false to true. * Handle the `c', `d', and `r' conditions as false for now. * Use int for boolean data instead of rolling our own "enum roffrule"; needed such that we can use the standard ! and == operators. Havard Eidnes reported via the NetBSD bug tracking system that some Tcl*(3) manuals need this, and Thomas Klausner <wiz at NetBSD> forwarded the report to me. This doesn't make the crazy Tcl*(3) macrology maze happy yet, but brings us a bit closer.
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions