CVS commit: src/sys/arch/sparc64/include

2014-10-08 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Oct  8 10:30:27 UTC 2014

Modified Files:
src/sys/arch/sparc64/include: param.h

Log Message:
Ths has been sitting in my tree for years...
Allow the Xserver to map PCI IO space. Not needed for Sun-branded graphics
cards but Xorg can actually cold boot a few others, which will need it.
( if only to access standard VGA registers )


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/sparc64/include/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/time

2014-10-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct  8 13:13:34 UTC 2014

Modified Files:
src/lib/libc/time: zdump.c

Log Message:
Make yeartot() declaration match prototype.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/time/zdump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Oct  8 13:26:47 UTC 2014

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
Add tests for PR lib/47916.  Some of these fail.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libutil/t_parsedate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Oct  8 14:32:29 UTC 2014

Modified Files:
src/lib/libutil: parsedate.y

Log Message:
A time like HH:MM:SS.sss says nothing about whether DST is on or off.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libutil/parsedate.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Oct  8 14:43:48 UTC 2014

Modified Files:
src/lib/libutil: parsedate.y

Log Message:
Add a new non-terminal "time_numericzone" for a time with
a numeric timezone.  Move some productions from "time" to "time_numericzone".
Increment yyHaveZone when encountering one of these.

Previously, input of the form "HH:MM:SS +" would not have set the
yyhaveZone flag.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libutil/parsedate.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-10-08 Thread Takahiro Kambe
Module Name:src
Committed By:   taca
Date:   Wed Oct  8 16:13:02 UTC 2014

Modified Files:
src/sys/kern: uipc_usrreq.c

Log Message:
Make behavior of getsockname(2) (and maybe getpeername(2)) as the same as
NetBSD 6.1_STABLE and other operating system (OS X 10.9.5).

* sa_len of sockaddr_un strucrure is always set to sizeof(sun_path).
* pathname stored in sun_path is alwasys '\0' terminated (except length
  of sun_path is sizeof(sun_path)?).

Should be fix PR kern/49247, runtime problem of lmtp service of dovecot2 on
NetBSD current and NetBSD 7.0_BETA.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/kern/uipc_usrreq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Oct  8 17:06:18 UTC 2014

Modified Files:
src/lib/libutil: parsedate.3

Log Message:
The tzoff argument is in minutes (behind/west of UTC), not seconds.

While here, also say that time = NULL and tzoff = NULL are independent.
The code doesn't yet implement that, but it will soon.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libutil/parsedate.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Oct  8 17:21:40 UTC 2014

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
When tests fail, print all args, notjust the date string.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libutil/t_parsedate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Oct  8 17:23:03 UTC 2014

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
2013-07-09 was in British Summer TIme, so use tzoff=-60, not 0.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libutil/t_parsedate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Wed Oct  8 17:38:28 UTC 2014

Modified Files:
src/lib/libutil: parsedate.y

Log Message:
Improved handling of local times.

* A magic value USE_LOCAL_TIME (defined as 9) may be passed as the
  Timezone to Convert(), instructing it to use mktime() to work
  in the local time zone, instead of using mktime_z to work in UTC
  (and then adding the specified timezone offset).
* Some old code is removed now that there's no need to find the local
  timezone offset.
* Allow either one or both of the now and zone arguments to
  parsedate() to be NULL, treating them independently.  Previously,
  if either one was NULL, the other was ignored.
* If the zone argument is specified, then the current date is calculated
  in the specified zone, not in local time.

Also add some disabled debug code.

This should fix PR lib/47916.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libutil/parsedate.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2014-10-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct  8 18:23:32 UTC 2014

Modified Files:
src/sys/dev/ic: dwc_gmac_reg.h

Log Message:
Fix a few bits, add more status bit definitions and some comments.
Remove driver specific preference definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/dwc_gmac_reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2014-10-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct  8 18:24:21 UTC 2014

Modified Files:
src/sys/dev/ic: dwc_gmac.c

Log Message:
More interrupt handling, more debug code, less magic numbers.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/dwc_gmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libutil

2014-10-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Oct  8 22:10:04 UTC 2014

Modified Files:
src/lib/libutil: parsedate.3

Log Message:
Drop trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libutil/parsedate.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2014-10-08 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Oct  9 04:48:12 UTC 2014

Modified Files:
src/sys/net: if_vlan.c

Log Message:
Do KASSERT(KERNEL_LOCKED_P()) only when NET_MPSAFE off

When NET_MPSAFE, bridge_enqueue calls vlan_start w/o KERNEL_LOCK.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/net/if_vlan.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2014-10-08 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Oct  9 04:58:42 UTC 2014

Modified Files:
src/sys/dev/pci: if_vioif.c

Log Message:
Add ETHERCAP_VLAN_MTU capability to vioif


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/if_vioif.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-08 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 06:45:32 UTC 2014

Modified Files:
src/usr.bin/config: defs.h main.c util.c

Log Message:
Add debug print function.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/usr.bin/config/defs.h
cvs rdiff -u -r1.54 -r1.55 src/usr.bin/config/main.c
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/config/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/config

2014-10-08 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Oct  9 06:49:53 UTC 2014

Modified Files:
src/usr.bin/config: files.c main.c sem.c

Log Message:
Debug print where things are selected (by user).


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/config/files.c
cvs rdiff -u -r1.55 -r1.56 src/usr.bin/config/main.c
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/librumphijack

2014-10-08 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Thu Oct  9 06:52:37 UTC 2014

Modified Files:
src/tests/lib/librumphijack: t_tcpip.sh

Log Message:
Avoid literal  in sed regular expression.
Instead, use printf(1) to save the regexp in a shell variable,
taking advantage of the fact that printf understands "\r".

This should fix a complaint from subversion, reported in PR 49249.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/lib/librumphijack/t_tcpip.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.