CVS: cvs.openbsd.org: src

2013-09-15 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/09/15 03:49:21

Modified files:
sys/arch/sparc/dev: zs.c 

Log message:
Replace a hardcoded delay() with ZS_DELAY() to make sun4c happier



CVS: cvs.openbsd.org: src

2013-09-15 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/09/15 06:02:21

Modified files:
distrib/notes/sparc: hardware 

Log message:
mention NVSIMM



CVS: cvs.openbsd.org: src

2013-09-15 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/09/15 06:18:35

Modified files:
share/man/man4/man4.sparc: rfx.4 

Log message:
Mention the SBus slot #2 in sun4e is `slave only', just as slot #3 in sun4c.



CVS: cvs.openbsd.org: src

2013-09-15 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2013/09/15 07:44:53

Modified files:
sys/dev/ata: wd.c 

Log message:
Make it clearer that sc_wdc_bio.blkno is actuall a disk hardware
address by using the DL_BLKTOSEC() and DL_SECTOBLK() defines rather
than handrolling the equivalent. Fixes current addition of a 512-byte
block value (b_blkno) to a disk hardware address (DL_GETPOFFSET()).

Tested on real wd(4) hardware by guenther@.



CVS: cvs.openbsd.org: src

2013-09-15 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2013/09/15 08:35:51

Modified files:
sys/scsi   : cd.c sd.c 

Log message:
Use DL_SECTOBLK() and DL_BLKTOSEC() to clarify code and remove
repeated handrolling of same code. Use daddr_t variable to
calculate daddr_t return values, and u_int64_t variables to
calculate disk sector values.

No functional change.



CVS: cvs.openbsd.org: src

2013-09-15 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2013/09/15 10:54:53

Modified files:
sys/scsi   : cd.c 

Log message:
cddump() takes a daddr_t parameter. Call that parameter 'blkno' and not
'secno'. This is what sddump() already does and consistant is good.
No function change.



CVS: cvs.openbsd.org: src

2013-09-15 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/09/15 11:33:47

Modified files:
usr.bin/mandoc : tree.c 

Log message:
For some mdoc(7) macros, it is (unfortunately) semantically significant
whether they are the first macro on the line or called by another macro.
To help debugging, indicate this property first macro on a new input line
by prefixing an asterisk to the line number in -Ttree output.



CVS: cvs.openbsd.org: www

2013-09-15 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2013/09/15 12:02:49

Modified files:
.  : orders.html 

Log message:
Remove weird /bin/sh that sneaked in the latest revision.
From Maurice Janssen (maurice at z74 dot net).



CVS: cvs.openbsd.org: src

2013-09-15 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/09/15 12:26:39

Modified files:
usr.bin/mandoc : mdoc_macro.c 

Log message:
Block closing macros do not allocate a new node but finish an existing
one, so they miss the clearing of MDOC_NEWLINE in mdoc.c, node_alloc().
Consequently, MDOC_NEWLINE must be cleared before processing the next
macro on the same line.
This fixes horizontal spacing for input lines beginning like .Oc Ns ...

Issue found by Franco Fichtner franco at lastsummer dot de
while working on DragonFly mandoc integration.



CVS: cvs.openbsd.org: src

2013-09-15 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/09/15 12:48:27

Modified files:
usr.bin/mandoc : mdoc_man.c 

Log message:
Use normal line macro recognition, do not attempt to roll your own.
This fixes horizontal spacing when an Ns macro follows a block-closing
macro and the corresponding block-opening macro is not on the same line.



CVS: cvs.openbsd.org: src

2013-09-15 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/09/15 12:59:42

Modified files:
regress/usr.bin/mandoc/mdoc/Ns: position.in position.out_ascii 

Log message:
Macros following block closing macros aren't line macros.
Testing mdoc_macro.c 1.79 and mdoc_man.c 1.51.

Thanks to Franco Fichtner franco at lastsummer dot de
for providing the test case this patch was based on.



CVS: cvs.openbsd.org: src

2013-09-15 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/09/15 14:02:35

Modified files:
libexec/spamd-setup: spamd-setup.8 
libexec/spamlogd: spamlogd.8 
share/man/man4/man4.macppc: openprom.4 
share/man/man4/man4.sparc: openprom.4 
share/man/man4/man4.sparc64: openprom.4 

Log message:
Some missing .Pa macros in FILES sections;
from Jan Stary hans at stare dot cz;
discussed with jmc@.



CVS: cvs.openbsd.org: www

2013-09-15 Thread Okan Demirmen
CVSROOT:/cvs
Module name:www
Changes by: o...@cvs.openbsd.org2013/09/15 16:31:31

Modified files:
faq: current.html 

Log message:
wtmp is in /var/log/



CVS: cvs.openbsd.org: src

2013-09-15 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/09/15 18:25:06

Modified files:
usr.bin/mandoc : mandoc.h mdoc_validate.c read.c 

Log message:
One of the WARNING messages has to use the word section twice in two
different meanings, that cannot be helped.  But we can make this less
confusing by stating that the second instance refers to stuff like (2),
(3), and (9), and by adding the sections header the first instance
refers to, for example ERRORS or RETURN VALUES.

Source for confusion noticed by Jan Stary hans at stare dot cz,
better wording suggested by jmc@, tweaked by me.



CVS: cvs.openbsd.org: www

2013-09-15 Thread Brett Mahar
CVSROOT:/cvs
Module name:www
Changes by: br...@cvs.openbsd.org   2013/09/15 20:36:25

Modified files:
.  : plus.html 

Log message:
plus.html for Sept 2-8.