openbsd
10 years agoThere was a race in relayd that caused connections to hang. It
bluhm [Sun, 10 Aug 2014 21:55:17 +0000 (21:55 +0000)]
There was a race in relayd that caused connections to hang.  It
happend with non-persistent PUT connections that had a very short
body.  If the whole body was read from the client before the
connection to the server was set up, the event callback was not
called.  Do the regular checks after relay_connect() succeeded.
OK reyk@

10 years agoImprove variables listing in x11/kde4 module description.
zhuk [Sun, 10 Aug 2014 21:09:26 +0000 (21:09 +0000)]
Improve variables listing in x11/kde4 module description.

10 years ago[] -> [[]]
rpe [Sun, 10 Aug 2014 20:54:17 +0000 (20:54 +0000)]
[] -> [[]]

OK krw@
"well ok" halex@

10 years ago- add -p to SYNOPSIS
jmc [Sun, 10 Aug 2014 17:15:18 +0000 (17:15 +0000)]
- add -p to SYNOPSIS
- the argument to -s is not optional

ok ajacoutot

10 years agoguenther wants a copyright
tedu [Sun, 10 Aug 2014 16:36:13 +0000 (16:36 +0000)]
guenther wants a copyright

10 years agoConvert if foo; then bar; fi blocks to foo && bar but leave out enable_network()
rpe [Sun, 10 Aug 2014 16:32:28 +0000 (16:32 +0000)]
Convert if foo; then bar; fi blocks to foo && bar but leave out enable_network()
because it shares code&style with /etc/netstart. No functional change.

with feedback and OK krw@ halex@

10 years agoTweak cipher list comments and add missing cipher value comments.
jsing [Sun, 10 Aug 2014 15:06:15 +0000 (15:06 +0000)]
Tweak cipher list comments and add missing cipher value comments.

10 years ago{ foo ; bar ; } -> { foo; bar; }
rpe [Sun, 10 Aug 2014 14:59:22 +0000 (14:59 +0000)]
{ foo ; bar ; } -> { foo; bar; }

OK krw@

10 years agoRemove disabled (weakened export and non-ephemeral DH) cipher suites from
jsing [Sun, 10 Aug 2014 14:57:04 +0000 (14:57 +0000)]
Remove disabled (weakened export and non-ephemeral DH) cipher suites from
the cipher list. This reduces code size, saves data segment space and
prevents them from being turned back on at runtime by flipping a bit in
memory.

ok guenther@

10 years agoSince we no longer need to support SSLv2-style cipher lists, start
jsing [Sun, 10 Aug 2014 14:42:55 +0000 (14:42 +0000)]
Since we no longer need to support SSLv2-style cipher lists, start
unravelling the maze of function pointers and callbacks by directly
calling ssl3_{get,put}_cipher_by_char() and removing the
ssl_{get,put}_cipher_by_char macros.

Prompted by similar changes in boringssl.

ok guenther.

10 years agoAsk for the descriptor size corresponding to the number of ports present
mpi [Sun, 10 Aug 2014 13:32:14 +0000 (13:32 +0000)]
Ask for the descriptor size corresponding to the number of ports present
in the hub, not from some random value from the stack.

10 years agoDo not allocate space for the whole structure when we just want to store
mpi [Sun, 10 Aug 2014 12:58:49 +0000 (12:58 +0000)]
Do not allocate space for the whole structure when we just want to store
a pointer, found by clang.

10 years agosizeof() a pointer of the right struct to appease clang.
mpi [Sun, 10 Aug 2014 12:48:43 +0000 (12:48 +0000)]
sizeof() a pointer of the right struct to appease clang.

10 years agoNote that qemu 1.7.2 has the VLAN bug fix, too
sf [Sun, 10 Aug 2014 12:28:09 +0000 (12:28 +0000)]
Note that qemu 1.7.2 has the VLAN bug fix, too

10 years agozap trailing whitespace
jasper [Sun, 10 Aug 2014 11:26:07 +0000 (11:26 +0000)]
zap trailing whitespace

10 years agosome Ev fixes;
jmc [Sun, 10 Aug 2014 11:23:02 +0000 (11:23 +0000)]
some Ev fixes;

10 years agoMerge xhci_device_setup() into xhci_pipe_init() there's no reason to
mpi [Sun, 10 Aug 2014 11:21:49 +0000 (11:21 +0000)]
Merge xhci_device_setup() into xhci_pipe_init() there's no reason to
have a separate function anymore, it is just a wrapper around the "set
address" command.

10 years agoSince USB xfer pools are accessed in interrupt context, initialize them
mpi [Sun, 10 Aug 2014 11:18:57 +0000 (11:18 +0000)]
Since USB xfer pools are accessed in interrupt context, initialize them
with the correct ipl to prevent your CPU from locking against itself.

10 years agoSet and check for XFER_BUSY in the common methods instead of doing it
mpi [Sun, 10 Aug 2014 11:00:35 +0000 (11:00 +0000)]
Set and check for XFER_BUSY in the common methods instead of doing it
in every HC driver.

10 years agotypo in debug message
ratchov [Sun, 10 Aug 2014 10:25:35 +0000 (10:25 +0000)]
typo in debug message

10 years agoinitialize mmcpos, found by guenther
ratchov [Sun, 10 Aug 2014 10:25:04 +0000 (10:25 +0000)]
initialize mmcpos, found by guenther

10 years agoDocument SUBST_*
espie [Sun, 10 Aug 2014 10:10:21 +0000 (10:10 +0000)]
Document SUBST_*

10 years agocomment what's going on
espie [Sun, 10 Aug 2014 10:04:39 +0000 (10:04 +0000)]
comment what's going on

10 years agoOuch... fuck cvs
espie [Sun, 10 Aug 2014 10:03:46 +0000 (10:03 +0000)]
Ouch... fuck cvs

10 years agoif pkg_create is run as non-root, restory correct group/owner to root/bin.
espie [Sun, 10 Aug 2014 10:01:03 +0000 (10:01 +0000)]
if pkg_create is run as non-root, restory correct group/owner to root/bin.

also, remove write permissions without explicit modes. Allows fake installs
to keep directories/files writable while producing correct package.

10 years agofix kqueue read/write filters for msdosfs and fusefs
jsg [Sun, 10 Aug 2014 09:23:06 +0000 (09:23 +0000)]
fix kqueue read/write filters for msdosfs and fusefs
ok tedu@

10 years agoTypo. ok deraadt@ jmc@
matthieu [Sun, 10 Aug 2014 09:15:39 +0000 (09:15 +0000)]
Typo. ok deraadt@ jmc@

10 years agodebug level test for clock_gettime() calls should match
jsg [Sun, 10 Aug 2014 09:11:07 +0000 (09:11 +0000)]
debug level test for clock_gettime() calls should match
ok ratchov@

10 years agoAF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKET
guenther [Sun, 10 Aug 2014 07:31:58 +0000 (07:31 +0000)]
AF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKET

10 years agoDon't need to know how to format bluetooth socket info here
guenther [Sun, 10 Aug 2014 07:29:45 +0000 (07:29 +0000)]
Don't need to know how to format bluetooth socket info here

10 years agoNo more bluetooth in netintr(), so delete NETISR_BT. Zap the declaration
guenther [Sun, 10 Aug 2014 07:28:32 +0000 (07:28 +0000)]
No more bluetooth in netintr(), so delete NETISR_BT.  Zap the declaration
for btintr(), as well as the also gone atintr() and clnlintr()

10 years agoAF_BLUETOOTH is gone. AF_LOCAL isn't involved pipe (and portals are gone).
guenther [Sun, 10 Aug 2014 07:23:59 +0000 (07:23 +0000)]
AF_BLUETOOTH is gone.  AF_LOCAL isn't involved pipe (and portals are gone).

10 years agoAF_IMPLINK and AF_BLUETOOTH are gone
guenther [Sun, 10 Aug 2014 07:19:08 +0000 (07:19 +0000)]
AF_IMPLINK and AF_BLUETOOTH are gone

10 years agoOnly need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 05:09:31 +0000 (05:09 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here

10 years agoOnly need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 05:08:31 +0000 (05:08 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here

10 years agoOnly need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 05:06:38 +0000 (05:06 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here

10 years agoOnly need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 05:00:25 +0000 (05:00 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here

10 years agoOnly need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 04:57:33 +0000 (04:57 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here

10 years agoFix the length check for reinjected ICMP packets: sizeof(struct icmp) is
lteo [Sun, 10 Aug 2014 03:26:20 +0000 (03:26 +0000)]
Fix the length check for reinjected ICMP packets: sizeof(struct icmp) is
28 but an ICMP packet can be as small as 8 bytes (e.g. an ICMP echo
request packet with no payload), so check against ICMP_MINLEN instead.

Prior to this fix, divert(4) would erroneously discard valid ICMP
packets that are shorter than 20 bytes.

ICMPv6 is not affected, so this change applies to ICMP over IPv4 only.

ok florian@ henning@

10 years agoFormat time_t with %lld after casting to long long
guenther [Sun, 10 Aug 2014 03:25:39 +0000 (03:25 +0000)]
Format time_t with %lld after casting to long long

10 years agoRename p_hdrlen to min_hdrlen to better reflect its purpose.
lteo [Sun, 10 Aug 2014 03:24:51 +0000 (03:24 +0000)]
Rename p_hdrlen to min_hdrlen to better reflect its purpose.

No object file change
ok florian@ henning@

10 years agoDelete duplicate conditional
guenther [Sun, 10 Aug 2014 02:49:24 +0000 (02:49 +0000)]
Delete duplicate conditional

diff from frantisek holop (minusf (at) obiit.org)

10 years agoReplace F_DUPFD followed by setting FD_CLOEXEC with just F_DUPFD_CLOEXEC
guenther [Sun, 10 Aug 2014 02:44:26 +0000 (02:44 +0000)]
Replace F_DUPFD followed by setting FD_CLOEXEC with just F_DUPFD_CLOEXEC

ok matthew@ millert@

10 years agoAdd Xr to skey and stty
guenther [Sun, 10 Aug 2014 02:41:41 +0000 (02:41 +0000)]
Add Xr to skey and stty

10 years agoDelete extern declarations for variables that don't exist (anymore?)
guenther [Sun, 10 Aug 2014 02:38:24 +0000 (02:38 +0000)]
Delete extern declarations for variables that don't exist (anymore?)

10 years agoOnly need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 02:15:18 +0000 (02:15 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here

10 years agomsts(4) appears to support TIOCSTSTAMP
guenther [Sun, 10 Aug 2014 02:09:35 +0000 (02:09 +0000)]
msts(4) appears to support TIOCSTSTAMP

From Maurice Janssen (maurice (at) z74.net)

10 years agoAdd F_DUPFD_CLOEXEC handling
guenther [Sun, 10 Aug 2014 00:21:49 +0000 (00:21 +0000)]
Add F_DUPFD_CLOEXEC handling

10 years agoAdd newer errnos
guenther [Sun, 10 Aug 2014 00:20:55 +0000 (00:20 +0000)]
Add newer errnos

10 years agoSwitch from calloc() to reallocarray() where the zeroing isn't needed
guenther [Sat, 9 Aug 2014 22:44:15 +0000 (22:44 +0000)]
Switch from calloc() to reallocarray() where the zeroing isn't needed

10 years agoUse time_t for storing times
guenther [Sat, 9 Aug 2014 22:42:13 +0000 (22:42 +0000)]
Use time_t for storing times

10 years agoParse times with strtoll() instead of strtol()
guenther [Sat, 9 Aug 2014 22:40:16 +0000 (22:40 +0000)]
Parse times with strtoll() instead of strtol()

10 years agoRegenerate to pick up time_t changes
guenther [Sat, 9 Aug 2014 22:39:08 +0000 (22:39 +0000)]
Regenerate to pick up time_t changes

10 years agobfd-in2.h is generated from this; merge back a change that was made there
guenther [Sat, 9 Aug 2014 22:37:29 +0000 (22:37 +0000)]
bfd-in2.h is generated from this; merge back a change that was made there

10 years agoStore timestamps in time_t
guenther [Sat, 9 Aug 2014 22:34:35 +0000 (22:34 +0000)]
Store timestamps in time_t

10 years agobfd-in2.h is generated from this; merge back a change that was made there
guenther [Sat, 9 Aug 2014 22:32:08 +0000 (22:32 +0000)]
bfd-in2.h is generated from this; merge back a change that was made there

10 years agoAfter a cleanup by deraadt I noticed the four-space-indent had started
halex [Sat, 9 Aug 2014 21:51:29 +0000 (21:51 +0000)]
After a cleanup by deraadt I noticed the four-space-indent had started
infesting the scripts. As we generally use a single tab for line
continuation indent in the scripts, let's reclaim 30 precious bytes!

ok rpe@ krw@

10 years agoFix readelf --debug-dump=frames-interp output: once a register is given
guenther [Sat, 9 Aug 2014 20:08:44 +0000 (20:08 +0000)]
Fix readelf --debug-dump=frames-interp output: once a register is given
a column, it needs to included in all rows, even after the register is
restored.

ok jsg@

10 years agoless chatty; ok ajacoutot
jmc [Sat, 9 Aug 2014 16:39:25 +0000 (16:39 +0000)]
less chatty; ok ajacoutot

10 years agommap(2) requires MAP_PRIVATE ^ MAP_SHARED for flags;
schwarze [Sat, 9 Aug 2014 14:24:49 +0000 (14:24 +0000)]
mmap(2) requires MAP_PRIVATE ^ MAP_SHARED for flags;
found by kristaps@ on Mac OS X

10 years agoExtend comment.
ajacoutot [Sat, 9 Aug 2014 12:46:51 +0000 (12:46 +0000)]
Extend comment.

10 years agoInitial support for handling configuration files from packages
ajacoutot [Sat, 9 Aug 2014 12:45:03 +0000 (12:45 +0000)]
Initial support for handling configuration files from packages
(aka @sample) -- `sysmerge -p`
Worked done at g2k14.
Committing early so we have plenty of time for testing.

with help from espie@
thanks to landry@ for feedback on initial testing

10 years agosysctl.conf is an example.
ajacoutot [Sat, 9 Aug 2014 12:34:05 +0000 (12:34 +0000)]
sysctl.conf is an example.
Tweak error output.
Mention that `-S' has no effect when sets aren't used.

10 years agoAdd support for non-root hubs now that uhub(4) can deal with them. For
mpi [Sat, 9 Aug 2014 10:32:36 +0000 (10:32 +0000)]
Add support for non-root hubs now that uhub(4) can deal with them.  For
the moment only Super and High Speed devices are properly recognized.

Some TT love is required for Full and Low speed devices.

10 years agoCorrectly recognize Super Speed devices, this is part of the work to
mpi [Sat, 9 Aug 2014 09:58:11 +0000 (09:58 +0000)]
Correctly recognize Super Speed devices, this is part of the work to
be able to use USB 3.0 devices behind an external hub.

This is a bit tricky because the SS status use a different power bit
that maps to the Low speed one.  So no longer accept devices without
power bit and fallback to the parent hub's speed in case the status
does not report any particular speed.

Note that xhci(4) root hubs still set the traditionnal UPS_PORT_POWER
bit with the correct device speed.

10 years agoHandle super speed hub descriptors.
mpi [Sat, 9 Aug 2014 09:48:32 +0000 (09:48 +0000)]
Handle super speed hub descriptors.

10 years agoDo not store the whole USB hub descriptor in the "struct usbd_hub"
mpi [Sat, 9 Aug 2014 09:45:14 +0000 (09:45 +0000)]
Do not store the whole USB hub descriptor in the "struct usbd_hub"
to help integrating super speed hubs that use a different descriptor.

10 years agosome minor tweaks;
jmc [Sat, 9 Aug 2014 09:07:14 +0000 (09:07 +0000)]
some minor tweaks;

10 years agosort "prefork", and remove a useless macro;
jmc [Sat, 9 Aug 2014 08:54:03 +0000 (08:54 +0000)]
sort "prefork", and remove a useless macro;

10 years agobasic cleanup;
jmc [Sat, 9 Aug 2014 08:49:48 +0000 (08:49 +0000)]
basic cleanup;

10 years agoAllow to inclue the types section anywhere in the configuration file.
reyk [Sat, 9 Aug 2014 07:35:45 +0000 (07:35 +0000)]
Allow to inclue the types section anywhere in the configuration file.

Found by chris@
OK doug@

10 years agoRemove support for the continuous reporting "any" mouse mode which never
nicm [Sat, 9 Aug 2014 07:33:37 +0000 (07:33 +0000)]
Remove support for the continuous reporting "any" mouse mode which never
really worked properly and is rarely used.

10 years agoBackport from 2.17: mark the _GLOBAL_OFFSET_TABLE_, _DYNAMIC, and
guenther [Sat, 9 Aug 2014 05:52:43 +0000 (05:52 +0000)]
Backport from 2.17: mark the _GLOBAL_OFFSET_TABLE_, _DYNAMIC, and
_PROCEDURE_LINKAGE_TABLE_ symbols as (at least) hidden.

10 years agoBackport from binutils-2.17 the correct i386/amd64 register->int assignments
guenther [Sat, 9 Aug 2014 04:59:02 +0000 (04:59 +0000)]
Backport from binutils-2.17 the correct i386/amd64 register->int assignments
for CFI.  This changes the unwind information generated on amd64.

10 years agoWe don't use the __openbsd_randomdata_{start,end} symbols, but rather
guenther [Sat, 9 Aug 2014 04:49:47 +0000 (04:49 +0000)]
We don't use the __openbsd_randomdata_{start,end} symbols, but rather
get that info via the PT_OPENBSD_RANDOM segment info, so kill the symbols
While here, delete the commented out lines for __DYNAMIC as the question
they ask is answered 'no'

ok matthew@ back in May

10 years agoMatch format width of symbol visibility to the column header
guenther [Sat, 9 Aug 2014 04:35:17 +0000 (04:35 +0000)]
Match format width of symbol visibility to the column header
This corrects the alignment of the columns of hidden symbols

10 years agoOnly need <stdint.h> and not <inttypes.h> here
guenther [Sat, 9 Aug 2014 03:29:35 +0000 (03:29 +0000)]
Only need <stdint.h> and not <inttypes.h> here

10 years agoupdate currency exchange rates;
jmc [Fri, 8 Aug 2014 20:51:43 +0000 (20:51 +0000)]
update currency exchange rates;

10 years agosome basic fixes;
jmc [Fri, 8 Aug 2014 20:50:28 +0000 (20:50 +0000)]
some basic fixes;

10 years agozap trailing whitespace;
jmc [Fri, 8 Aug 2014 20:49:38 +0000 (20:49 +0000)]
zap trailing whitespace;

10 years agoWhen opening directories, re-match the location after the index file
reyk [Fri, 8 Aug 2014 18:29:42 +0000 (18:29 +0000)]
When opening directories, re-match the location after the index file
has been appended.  This allows to use a fastcgi target as the default
index, for example index.php.

OK florian@

10 years agoNo events were added for DNS UDP so it stopped working after the first
reyk [Fri, 8 Aug 2014 18:26:50 +0000 (18:26 +0000)]
No events were added for DNS UDP so it stopped working after the first
request.  Additionally, the DNS code tried to use an invalid timeout.

Fix from mm@freebsd.org
Reported by Johan Schuijt

10 years agoAbsurdly, the return value of sqlite3_column_text()
schwarze [Fri, 8 Aug 2014 17:36:21 +0000 (17:36 +0000)]
Absurdly, the return value of sqlite3_column_text()
is "const unsigned char *", which causes warnings with GCC on Linux.
Explicitly cast to "const char *" to avoid this.
Issue noticed by kristaps@.

10 years agomansearch.h uses uint64_t, so it needs stdint.h; found on Linux
schwarze [Fri, 8 Aug 2014 17:17:42 +0000 (17:17 +0000)]
mansearch.h uses uint64_t, so it needs stdint.h; found on Linux

10 years agoDrop some useless verbiage.
ajacoutot [Fri, 8 Aug 2014 17:04:55 +0000 (17:04 +0000)]
Drop some useless verbiage.
sysctl.conf is an example now.

10 years agodrm/radeon: fix typo in radeon_connector_is_dp12_capable()
jsg [Fri, 8 Aug 2014 16:41:16 +0000 (16:41 +0000)]
drm/radeon: fix typo in radeon_connector_is_dp12_capable()

From Alex Deucher
94dfc49785ea1acc1dd2c086ffd8d61ea3a5ee8f in ubuntu 3.8
af5d36539dfe043f1cf0f8b7334d6bb12cd14e75 in mainline linux

10 years agoTweak verbiage.
ajacoutot [Fri, 8 Aug 2014 16:38:25 +0000 (16:38 +0000)]
Tweak verbiage.

10 years agodrm/radeon/dp: fix lane/clock setup for dp 1.2 capable devices
jsg [Fri, 8 Aug 2014 16:38:23 +0000 (16:38 +0000)]
drm/radeon/dp: fix lane/clock setup for dp 1.2 capable devices

From Alex Deucher
c9a1adc31f78a30f33c591b61171f02d13a5b1a7 in ubuntu 3.8
3b6d9fd23e015b5397c438fd3cd74147d2c805b6 in mainline linux

10 years agodrm/radeon/atom: fix dithering on certain panels
jsg [Fri, 8 Aug 2014 16:35:56 +0000 (16:35 +0000)]
drm/radeon/atom: fix dithering on certain panels

From Alex Deucher
9102ef0d290f01247918f5a519d8fa4a96eaf370 in ubuntu 3.8
642528355c694f5ed68f6bff9ff520326a249f99 in mainline linux

10 years agodrm/radeon: only apply hdmi bpc pll flags when encoder mode is hdmi
jsg [Fri, 8 Aug 2014 16:33:27 +0000 (16:33 +0000)]
drm/radeon: only apply hdmi bpc pll flags when encoder mode is hdmi

From Alex Deucher
85cdd5e933c0f9fe3262067e707eed565db46378 in ubuntu 3.8
7d5ab3009a8ca777174f6f469277b3922d56fd4b in mainline linux

10 years agosome corrections and improvements with respect to prologue macros;
schwarze [Fri, 8 Aug 2014 16:32:17 +0000 (16:32 +0000)]
some corrections and improvements with respect to prologue macros;
found while working on mandoc(1) messages

10 years agoRemove redundant verbiage in the style of "a file is a file,
schwarze [Fri, 8 Aug 2014 16:25:15 +0000 (16:25 +0000)]
Remove redundant verbiage in the style of "a file is a file,
a line is a line, a column is a column"; suggested by jmc@

10 years agoBring the handling of defective prologues even closer to groff,
schwarze [Fri, 8 Aug 2014 16:17:09 +0000 (16:17 +0000)]
Bring the handling of defective prologues even closer to groff,
in particular relaxing the distinction between prologue and body
and further improving messages.
* The last .Dd wins and the last .Os wins, even in the body.
* The last .Dt before the first body macro wins.
* Missing title in .Dt defaults to UNTITLED.  Warn about it.
* Missing section in .Dt does not default to 1.  But warn about it.
* Do not warn multiple times about the same mdoc(7) prologue macro.
* Warn about missing .Os.
* Incomplete .TH defaults to empty strings.  Warn about it.

10 years agoSimplify by allowing only one post-handler.
schwarze [Fri, 8 Aug 2014 16:11:10 +0000 (16:11 +0000)]
Simplify by allowing only one post-handler.
Saves 36 static arrays and 10 lines of code
at the expense of only five new trivial static functions.
No functional change.

10 years agoSimplify by allowing only one pre-handler.
schwarze [Fri, 8 Aug 2014 16:08:19 +0000 (16:08 +0000)]
Simplify by allowing only one pre-handler.
Saves 12 static arrays and 19 lines of code.
No functional change.

10 years agoSimplify man(7) validation:
schwarze [Fri, 8 Aug 2014 16:05:42 +0000 (16:05 +0000)]
Simplify man(7) validation:
Drop pre-handlers, they were almost unused.
Drop the needless complexity of allowing more than one post-handler.

This saves one internal interface function, one static function, one
private struct definition, sixteen static arrays, and 45 lines of code.
No functional change.

10 years agoregen
jsg [Fri, 8 Aug 2014 16:03:08 +0000 (16:03 +0000)]
regen

10 years agoFix floating point handling: When converting double to size_t,
schwarze [Fri, 8 Aug 2014 16:02:55 +0000 (16:02 +0000)]
Fix floating point handling: When converting double to size_t,
properly round to the nearest M (=0.001m), which is the smallest
available unit.

This avoids weirdness like (size_t)(0.6 * 10.0) == 5
by instead calculating (size_t)(0.6 * 10.0 + 0.0005) == 6,
and so it fixes the indentation of the readline(3) manual.

10 years agoadd bochs and microsoft emulated vga
jsg [Fri, 8 Aug 2014 16:02:03 +0000 (16:02 +0000)]
add bochs and microsoft emulated vga

10 years agoClarity with respect to floating point handling:
schwarze [Fri, 8 Aug 2014 16:00:23 +0000 (16:00 +0000)]
Clarity with respect to floating point handling:
Write double constants as double rather than integer literals.
Remove useless explicit (double) cast done at one place and nowhere else.
No functional change.