CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Mon Dec 26 07:53:03 UTC 2016 Modified Files: src/sys/dev/pci: pcidevs Log Message: 0x10cb is not 82801H(ICH8) but 82801I(ICH9). To generate a diff of this commit: cvs rdiff -u -r1.1273 -r1.1274 src/sys/dev/pci/pcidevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/pci/pcidevs diff -u src/sys/dev/pci/pcidevs:1.1273 src/sys/dev/pci/pcidevs:1.1274 --- src/sys/dev/pci/pcidevs:1.1273 Thu Dec 1 09:04:03 2016 +++ src/sys/dev/pci/pcidevs Mon Dec 26 07:53:03 2016 @@ -1,4 +1,4 @@ -$NetBSD: pcidevs,v 1.1273 2016/12/01 09:04:03 msaitoh Exp $ +$NetBSD: pcidevs,v 1.1274 2016/12/26 07:53:03 msaitoh Exp $ /* * Copyright (c) 1995, 1996 Christopher G. Demetriou @@ -2897,7 +2897,7 @@ product INTEL 82598AF 0x10c7 82598 10 G product INTEL 82598AT 0x10c8 82598 10 Gigabit AT product INTEL 82576_COPPER 0x10c9 82576 1000BaseT Ethernet product INTEL 82576_VF 0x10ca 82576 1000BaseT Ethernet Virtual Function -product INTEL 82801H_IGP_M_V 0x10cb i82801H IGP (MV) LAN Controller +product INTEL 82801I_IGP_M_V 0x10cb i82801I IGP (MV) LAN Controller product INTEL 82801J_R_BM_LM 0x10cc i82567LM-2 LAN Controller product INTEL 82801J_R_BM_LF 0x10cd i82567LF-2 LAN Controller product INTEL 82801J_R_BM_V 0x10ce i82567V-2 LAN Controller
CVS commit: src/sys/net
Module Name:src Committed By: ozaki-r Date: Mon Dec 26 07:25:00 UTC 2016 Modified Files: src/sys/net: link_proto.c Log Message: Use psz/psref to hold ifa To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/net/link_proto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/link_proto.c diff -u src/sys/net/link_proto.c:1.32 src/sys/net/link_proto.c:1.33 --- src/sys/net/link_proto.c:1.32 Sat Nov 19 14:44:00 2016 +++ src/sys/net/link_proto.c Mon Dec 26 07:25:00 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: link_proto.c,v 1.32 2016/11/19 14:44:00 njoly Exp $ */ +/* $NetBSD: link_proto.c,v 1.33 2016/12/26 07:25:00 ozaki-r Exp $ */ /*- * Copyright (c) 1982, 1986, 1993 @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: link_proto.c,v 1.32 2016/11/19 14:44:00 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: link_proto.c,v 1.33 2016/12/26 07:25:00 ozaki-r Exp $"); #include #include @@ -141,6 +141,7 @@ link_control(struct socket *so, unsigned } u; struct ifaddr *ifa; const struct sockaddr_dl *asdl, *nsdl; + struct psref psref; switch (cmd) { case SIOCALIFADDR: @@ -168,15 +169,19 @@ link_control(struct socket *so, unsigned error = 0; - s = splnet(); - + s = pserialize_read_enter(); IFADDR_READER_FOREACH(ifa, ifp) { - if (sockaddr_cmp(, ifa->ifa_addr) == 0) + if (sockaddr_cmp(, ifa->ifa_addr) == 0) { +ifa_acquire(ifa, ); break; + } } + pserialize_read_exit(s); switch (cmd) { case SIOCGLIFADDR: + ifa_release(ifa, ); + s = pserialize_read_enter(); if ((iflr->flags & IFLR_PREFIX) == 0) { IFADDR_READER_FOREACH(ifa, ifp) { if (ifa->ifa_addr->sa_family == AF_LINK) @@ -184,6 +189,7 @@ link_control(struct socket *so, unsigned } } if (ifa == NULL) { +pserialize_read_exit(s); error = EADDRNOTAVAIL; break; } @@ -198,6 +204,8 @@ link_control(struct socket *so, unsigned sockaddr_copy(sstosa(>addr), sizeof(iflr->addr), ifa->ifa_addr); + pserialize_read_exit(s); + ifa = NULL; break; case SIOCDLIFADDR: @@ -212,12 +220,13 @@ link_control(struct socket *so, unsigned } break; case SIOCALIFADDR: - if (ifa != NULL) -; - else if ((ifa = if_dl_create(ifp, )) == NULL) { -error = ENOMEM; -break; - } else { + if (ifa == NULL) { +ifa = if_dl_create(ifp, ); +if (ifa == NULL) { + error = ENOMEM; + break; +} +ifa_acquire(ifa, ); sockaddr_copy(ifa->ifa_addr, ifa->ifa_addr->sa_len, ); ifa_insert(ifp, ifa); @@ -234,7 +243,7 @@ link_control(struct socket *so, unsigned } break; } - splx(s); + ifa_release(ifa, ); if (error != ENETRESET) return error; else if ((ifp->if_flags & IFF_RUNNING) != 0 &&
CVS commit: src/doc
Module Name:src Committed By: kamil Date: Mon Dec 26 03:24:11 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Add new entry in TODO.ptrace + add ATF tests for PT_SYSCALL and PT_SYSCALLEMU Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/doc/TODO.ptrace Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/TODO.ptrace diff -u src/doc/TODO.ptrace:1.6 src/doc/TODO.ptrace:1.7 --- src/doc/TODO.ptrace:1.6 Sat Dec 24 05:43:31 2016 +++ src/doc/TODO.ptrace Mon Dec 26 03:24:11 2016 @@ -1,4 +1,4 @@ -$NetBSD: TODO.ptrace,v 1.6 2016/12/24 05:43:31 kamil Exp $ +$NetBSD: TODO.ptrace,v 1.7 2016/12/26 03:24:11 kamil Exp $ Items we (currently) plan to finish in the ptrace(2) field: @@ -18,10 +18,11 @@ Items we (currently) plan to finish in t - add ptrace(2) NetBSD support in LLDB - add support for detecting equivalent events to PTRACE_O_TRACEEXEC, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXIT from Linux - - exect(3) rething or remove -- maybe PT_TRACE_ME + PTRACE_O_TRACEEXEC? + - exect(3) rethink or remove -- maybe PT_TRACE_ME + PTRACE_O_TRACEEXEC? - refactor pthread_dbg(3) to only query private pthread_t data, otherwise it duplicates ptrace(2) interface and cannot cover all types of threads - add ATF tests for SIGCHLD + - add ATF tsts for PT_SYSCALL and PT_SYSCALLEMU and of course: fix as many bugs as possible.
CVS commit: src/tests/net/ndp
Module Name:src Committed By: ozaki-r Date: Mon Dec 26 01:26:25 UTC 2016 Modified Files: src/tests/net/ndp: t_ra.sh Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/tests/net/ndp/t_ra.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/net/ndp/t_ra.sh diff -u src/tests/net/ndp/t_ra.sh:1.17 src/tests/net/ndp/t_ra.sh:1.18 --- src/tests/net/ndp/t_ra.sh:1.17 Wed Dec 21 07:02:16 2016 +++ src/tests/net/ndp/t_ra.sh Mon Dec 26 01:26:25 2016 @@ -1,4 +1,4 @@ -# $NetBSD: t_ra.sh,v 1.17 2016/12/21 07:02:16 ozaki-r Exp $ +# $NetBSD: t_ra.sh,v 1.18 2016/12/26 01:26:25 ozaki-r Exp $ # # Copyright (c) 2015 Internet Initiative Japan Inc. # All rights reserved. @@ -494,7 +494,7 @@ ra_multiple_routers_single_prefix_body() rump_server_destroy_ifaces } -multiple_routers_single_prefix_cleanup() +ra_multiple_routers_single_prefix_cleanup() { if [ -f ${PIDFILE} ]; then
CVS commit: src/sys/netinet
Module Name:src Committed By: knakahara Date: Mon Dec 26 00:30:08 UTC 2016 Modified Files: src/sys/netinet: in.c Log Message: pserialize_perform() is required an additionally serialization. see pserialize(9). ok by ozaki-r@n.o. To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192 src/sys/netinet/in.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/netinet/in.c diff -u src/sys/netinet/in.c:1.191 src/sys/netinet/in.c:1.192 --- src/sys/netinet/in.c:1.191 Mon Dec 12 03:55:57 2016 +++ src/sys/netinet/in.c Mon Dec 26 00:30:07 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: in.c,v 1.191 2016/12/12 03:55:57 ozaki-r Exp $ */ +/* $NetBSD: in.c,v 1.192 2016/12/26 00:30:07 knakahara Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -91,7 +91,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.191 2016/12/12 03:55:57 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.192 2016/12/26 00:30:07 knakahara Exp $"); #include "arp.h" @@ -831,11 +831,10 @@ in_purgeaddr(struct ifaddr *ifa) TAILQ_REMOVE(_ifaddrhead, ia, ia_list); IN_ADDRLIST_WRITER_REMOVE(ia); ifa_remove(ifp, >ia_ifa); - mutex_exit(_ifaddr_lock); - #ifdef NET_MPSAFE pserialize_perform(in_ifaddrhash_psz); #endif + mutex_exit(_ifaddr_lock); IN_ADDRHASH_ENTRY_DESTROY(ia); IN_ADDRLIST_ENTRY_DESTROY(ia); ifafree(>ia_ifa); @@ -879,10 +878,10 @@ in_addrhash_remove(struct in_ifaddr *ia) mutex_enter(_ifaddr_lock); in_addrhash_remove_locked(ia); - mutex_exit(_ifaddr_lock); #ifdef NET_MPSAFE pserialize_perform(in_ifaddrhash_psz); #endif + mutex_exit(_ifaddr_lock); IN_ADDRHASH_ENTRY_DESTROY(ia); }
CVS commit: src/external/bsd/ipf/dist/man
Module Name:src Committed By: khorben Date: Mon Dec 26 00:11:14 UTC 2016 Modified Files: src/external/bsd/ipf/dist/man: ipnat.5 Log Message: Typo To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ipf/dist/man/ipnat.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ipf/dist/man/ipnat.5 diff -u src/external/bsd/ipf/dist/man/ipnat.5:1.4 src/external/bsd/ipf/dist/man/ipnat.5:1.5 --- src/external/bsd/ipf/dist/man/ipnat.5:1.4 Tue Aug 11 16:06:52 2015 +++ src/external/bsd/ipf/dist/man/ipnat.5 Mon Dec 26 00:11:14 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: ipnat.5,v 1.4 2015/08/11 16:06:52 prlw1 Exp $ +.\" $NetBSD: ipnat.5,v 1.5 2016/12/26 00:11:14 khorben Exp $ .\" .TH IPNAT 5 .SH NAME @@ -418,7 +418,7 @@ rdr le0 0/0 port 80-88 -> 127.0.0.1 port .fi .PP then port 80 would become 3128, port 81 would become 3129, etc. If we -want to redirect a number of different pots to just a single port, an +want to redirect a number of different ports to just a single port, an equals sign ("=") is placed before the port number on the RHS like this: .nf
CVS commit: src/sys/dev
Module Name:src Committed By: nat Date: Sun Dec 25 23:23:46 UTC 2016 Modified Files: src/sys/dev: files.audio Log Message: Add mulaw to audio device for auconv_set_converter. This should address PR kern/51707. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/files.audio Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/files.audio diff -u src/sys/dev/files.audio:1.9 src/sys/dev/files.audio:1.10 --- src/sys/dev/files.audio:1.9 Thu Dec 15 04:36:07 2016 +++ src/sys/dev/files.audio Sun Dec 25 23:23:46 2016 @@ -1,4 +1,4 @@ -# $NetBSD: files.audio,v 1.9 2016/12/15 04:36:07 christos Exp $ +# $NetBSD: files.audio,v 1.10 2016/12/25 23:23:46 nat Exp $ define audiobus { } define midibus { } @@ -13,7 +13,7 @@ define auvolconv # audio and midi devices, attaches to audio hardware driver # -device audio {}: audiodev, auconv, aurateconv +device audio {}: audiodev, auconv, aurateconv, mulaw attach audio at audiobus device midi: audio attach midi at midibus
CVS commit: src/sys/dev
Module Name:src Committed By: nat Date: Sun Dec 25 22:44:24 UTC 2016 Modified Files: src/sys/dev: audio.c Log Message: Fix suspend/resume logic. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/dev/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/audio.c diff -u src/sys/dev/audio.c:1.286 src/sys/dev/audio.c:1.287 --- src/sys/dev/audio.c:1.286 Fri Dec 23 21:01:00 2016 +++ src/sys/dev/audio.c Sun Dec 25 22:44:24 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.286 2016/12/23 21:01:00 nat Exp $ */ +/* $NetBSD: audio.c,v 1.287 2016/12/25 22:44:24 nat Exp $ */ /*- * Copyright (c) 2016 Nathanial Sloss@@ -87,7 +87,7 @@ */ /* - * Locking: there are three locks. + * Locking: there are two locks. * * - sc_lock, provided by the underlying driver. This is an adaptive lock, * returned in the second parameter to hw_if->get_locks(). It is known @@ -148,7 +148,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.286 2016/12/23 21:01:00 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.287 2016/12/25 22:44:24 nat Exp $"); #include "audio.h" #if NAUDIO > 0 @@ -480,6 +480,7 @@ audioattach(device_t parent, device_t se sc->sc_trigger_started = false; sc->sc_rec_started = false; + sc->sc_dying = false; sc->sc_vchan[0] = kmem_zalloc(sizeof(struct virtual_channel), KM_SLEEP); vc = sc->sc_vchan[0]; memset(sc->sc_audiopid, -1, sizeof(sc->sc_audiopid)); @@ -853,6 +854,7 @@ audioactivate(device_t self, enum devact case DVACT_DEACTIVATE: mutex_enter(sc->sc_lock); sc->sc_dying = true; + cv_broadcast(>sc_condvar); mutex_exit(sc->sc_lock); return 0; default: @@ -5018,23 +5020,27 @@ audio_suspend(device_t dv, const pmf_qua { struct audio_softc *sc = device_private(dv); const struct audio_hw_if *hwp = sc->hw_if; + struct virtual_channel *vc; int n; + bool pbus, rbus; + pbus = rbus = false; mutex_enter(sc->sc_lock); + audio_mixer_capture(sc); for (n = 1; n < VAUDIOCHANS; n++) { - if (sc->sc_audiopid[n].pid == curproc->p_pid) - break; - } - if (n == VAUDIOCHANS) { - mutex_exit(sc->sc_lock); - return false; - } + if (sc->sc_audiopid[n].pid == -1) + continue; - audio_mixer_capture(sc); + vc = sc->sc_vchan[n]; + if (vc->sc_pbus && !pbus) + pbus = true; + if (vc->sc_rbus && !rbus) + rbus = true; + } mutex_enter(sc->sc_intr_lock); - if (sc->sc_vchan[n]->sc_pbus == true) + if (pbus == true) hwp->halt_output(sc->hw_hdl); - if (sc->sc_recopens == 1 && sc->sc_vchan[n]->sc_rbus == true) + if (rbus == true) hwp->halt_input(sc->hw_hdl); mutex_exit(sc->sc_intr_lock); #ifdef AUDIO_PM_IDLE @@ -5052,25 +5058,28 @@ audio_resume(device_t dv, const pmf_qual struct virtual_channel *vc; int n; - for (n = 1; n < VAUDIOCHANS; n++) { - if (sc->sc_audiopid[n].pid == curproc->p_pid) - break; - } - - if (n == VAUDIOCHANS) - return false; - vc = sc->sc_vchan[n]; - mutex_enter(sc->sc_lock); - if (vc->sc_lastinfovalid) - audiosetinfo(sc, >sc_lastinfo, true, n); + sc->sc_trigger_started = false; + sc->sc_rec_started = false; + + audio_set_vchan_defaults(sc, AUMODE_PLAY | AUMODE_PLAY_ALL | + AUMODE_RECORD, _formats[0], 0); + audio_mixer_restore(sc); - mutex_enter(sc->sc_intr_lock); - if ((vc->sc_pbus == true) && !vc->sc_mpr.pause) - audiostartp(sc, n); - if ((vc->sc_rbus == true) && !vc->sc_mrr.pause) - audiostartr(sc, n); - mutex_exit(sc->sc_intr_lock); + for (n = 1; n < VAUDIOCHANS; n++) { + if (sc->sc_audiopid[n].pid == -1) + continue; + vc = sc->sc_vchan[n]; + + if (vc->sc_lastinfovalid == true) + audiosetinfo(sc, >sc_lastinfo, true, n); + mutex_enter(sc->sc_intr_lock); + if (vc->sc_pbus == true && !vc->sc_mpr.pause) + audiostartp(sc, n); + if (vc->sc_rbus == true && !vc->sc_mrr.pause) + audiostartr(sc, n); + mutex_exit(sc->sc_intr_lock); + } mutex_exit(sc->sc_lock); return true; @@ -5248,6 +5257,7 @@ mix_write(void *arg) vc = sc->sc_vchan[0]; blksize = vc->sc_mpr.blksize; cc = blksize; + error = 0; cc1 = cc; if (vc->sc_pustream->inp + cc > vc->sc_pustream->end) @@ -5280,13 +5290,15 @@ mix_write(void *arg) error = sc->hw_if->start_output(sc->hw_hdl, __UNCONST(vc->sc_mpr.s.outp), blksize, audio_pint, (void *)sc); - if (error) { - /* XXX does this really help? */ - DPRINTF(("audio_mix restart failed: %d\n", error)); - audio_clear(sc, 0); - } } sc->sc_trigger_started = true; + + if (error) { + /* XXX does this really help? */ + DPRINTF(("audio_mix restart failed: %d\n", error)); + audio_clear(sc, 0); + sc->sc_trigger_started = false; + } } void
CVS commit: src/etc
Module Name:src Committed By: christos Date: Sun Dec 25 16:44:39 UTC 2016 Modified Files: src/etc: Makefile.params Log Message: put also MAKEFILES in the MKREPRO section since they vary since they contain paths. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/etc/Makefile.params Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/Makefile.params diff -u src/etc/Makefile.params:1.14 src/etc/Makefile.params:1.15 --- src/etc/Makefile.params:1.14 Sat Dec 24 15:36:28 2016 +++ src/etc/Makefile.params Sun Dec 25 11:44:39 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.params,v 1.14 2016/12/24 20:36:28 christos Exp $ +# $NetBSD: Makefile.params,v 1.15 2016/12/25 16:44:39 christos Exp $ # # Makefile fragment for printing build parameters. # @@ -39,7 +39,7 @@ RELEASEVARS= DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \ HAVE_LLVM HAVE_PCC INSTALLWORLDDIR \ - MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \ + MACHINE MACHINE_ARCH MAKE MAKECONF \ MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \ MKARZERO MKATF MKBFD MKBINUTILS MKCATPAGES \ MKCRYPTO MKCRYPTO_RC5 MKCTF MKCVS \ @@ -61,7 +61,7 @@ RELEASEVARS= DISTRIBVER EXTERNAL_TOOLCHA .if ${MKREPRO:Uno} != "yes" RELEASEVARS+= BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \ DESTDIR KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ - NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \ + MAKEFLAGS NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \ RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR .endif
CVS commit: othersrc/usr.bin/guest2core
Module Name:othersrc Committed By: wiz Date: Sun Dec 25 12:45:09 UTC 2016 Modified Files: othersrc/usr.bin/guest2core: guest2core.8 Log Message: dump-guest-memory is a built-in and has no man page. Add a caveat by mlelstv. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 othersrc/usr.bin/guest2core/guest2core.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/usr.bin/guest2core/guest2core.8 diff -u othersrc/usr.bin/guest2core/guest2core.8:1.1 othersrc/usr.bin/guest2core/guest2core.8:1.2 --- othersrc/usr.bin/guest2core/guest2core.8:1.1 Sat Dec 24 08:18:44 2016 +++ othersrc/usr.bin/guest2core/guest2core.8 Sun Dec 25 12:45:09 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: guest2core.8,v 1.1 2016/12/24 08:18:44 wiz Exp $ +.\" $NetBSD: guest2core.8,v 1.2 2016/12/25 12:45:09 wiz Exp $ .\" .\" Copyright (c) 2016 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -43,7 +43,7 @@ The .Nm program converts the output of .Xr qemu 1 Ap s -.Xr dump-guest-memory 1 +.Ic dump-guest-memory command into a .Nx kernel core file for analysis by @@ -79,6 +79,10 @@ find the virtual address of PDPpaddr. .Nm was written by .An Michael van Elst Aq Mt mlel...@netbsd.org . +.Sh CAVEATS +For some reason PDPpaddr is currently a 32-bit value although locore +provides a 64-bit slot and a physical address value is larger than +32-bit. .Sh BUGS So far, .Nm
CVS commit: src/etc
Module Name:src Committed By: kim Date: Sun Dec 25 12:10:52 UTC 2016 Modified Files: src/etc: man.conf Log Message: Make precedence between {cat,man}[39]{,lua} logical: - Search man3 right after cat3, before cat3lua (and man3lua). - Search man9 right after cat9, before cat9lua (and man9lua). To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/etc/man.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/man.conf diff -u src/etc/man.conf:1.35 src/etc/man.conf:1.36 --- src/etc/man.conf:1.35 Sun Dec 22 01:18:28 2013 +++ src/etc/man.conf Sun Dec 25 12:10:52 2016 @@ -1,4 +1,4 @@ -# $NetBSD: man.conf,v 1.35 2013/12/22 01:18:28 dholland Exp $ +# $NetBSD: man.conf,v 1.36 2016/12/25 12:10:52 kim Exp $ # Sheer, raging paranoia... _version BSD.2 @@ -7,7 +7,7 @@ _version BSD.2 _mandb /var/db/man.db # Subdirectories for paths ending in '/', IN SEARCH ORDER. -_subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 cat3lua man3 man3lua cat4 man4 cat5 man5 cat7 man7 man3f cat9 cat9lua man9 man9lua catn mann catl manl +_subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat3lua man3lua cat4 man4 cat5 man5 cat7 man7 man3f cat9 man9 cat9lua man9lua catn mann catl manl # Files typed by suffix and their commands. # Note the order, .Z must come after .[1-9].Z, or it will match first.
CVS commit: src/usr.bin/xlint/xlint
Module Name:src Committed By: wiz Date: Sun Dec 25 11:10:53 UTC 2016 Modified Files: src/usr.bin/xlint/xlint: lint.1 Log Message: Whitespace, sort, remove some superfluous macros/quoting. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.bin/xlint/xlint/lint.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/xlint/xlint/lint.1 diff -u src/usr.bin/xlint/xlint/lint.1:1.38 src/usr.bin/xlint/xlint/lint.1:1.39 --- src/usr.bin/xlint/xlint/lint.1:1.38 Sat Dec 24 17:43:45 2016 +++ src/usr.bin/xlint/xlint/lint.1 Sun Dec 25 11:10:53 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: lint.1,v 1.38 2016/12/24 17:43:45 christos Exp $ +.\" $NetBSD: lint.1,v 1.39 2016/12/25 11:10:53 wiz Exp $ .\" .\" Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. .\" Copyright (c) 1994, 1995 Jochen Pohl @@ -60,8 +60,8 @@ .Op Fl D Ar name Ns Op =def .Op Fl d Ar directory .Op Fl I Ar directory -.Op Fl R Ar old=new .Op Fl MD +.Op Fl R Ar old=new .Op Fl U Ar name .Op Fl X Ar id Ns Op ,id ... .Ar @@ -345,15 +345,15 @@ when assigning to wider integer types, o to wider types. .It Fl p Attempt to check portability of code to other dialects of C. -.It Fl r -In case of redeclarations report the position of the -previous declaration. .It Fl R Ar old=new -Remap +Remap .Ar old directory prefixes to .Ar new for reproducible builds. +.It Fl r +In case of redeclarations report the position of the +previous declaration. .It Fl S C9X mode. Currently not fully implemented. @@ -441,7 +441,7 @@ Suppress error messages about illegal bi is an integer type, and suppress non-portable bitfield type warnings. .It Li /* CONSTCOND */ No or Li /* CONSTANTCOND */ No or Li /* CONSTANTCONDITION */ Suppress complaints about constant operands for the next expression. -.It Li /*\ FALLTHRU\ */ No or Li /* FALLTHROUGH */ +.It Li /* FALLTHRU */ No or Li /* FALLTHROUGH */ Suppress complaints about fall through to a .Sy case or @@ -453,12 +453,12 @@ At the beginning of a file, mark all fun in this file as .Em used . Also shut off complaints about unused function arguments. -.It Li /* LINTED Ns Ar n Li Oo Ar comment Oc Li */ No or Li /* NOSTRICT Ns Ar n Li Oo Ar comment Oc Li */ +.It Li /* LINTED Ns Ar n Oo Ar comment Oc Li */ No or Li /* NOSTRICT Ns Ar n Oo Ar comment Oc Li */ Suppresses any intra-file warning except those dealing with unused variables or functions. This directive should be placed on the line immediately preceding where the lint warning occurred. -The optional numeric argument suppresses the specific numbered +The optional numeric argument suppresses the specific numbered message instead of every message. A list of messages and ids can be found in .Xr lint 7 .