Displaying 1 50 of 4,594,383 commits (0.397s)

LLVM — llvm/trunk/unittests/Support CommandLineTest.cpp

Reverted r304083 as it seems there is a desire to address this in the googletest.

FreeBSD — head/lib/libc/tests/nss getaddrinfo_test.c

Fix a -Wunused-but-set-variable warning reported by gcc 6.3.0

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss gethostby_test.c

Fix -Wunused and -Wshadow warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getgr_test.c

getgr_test: fix -Wunused warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getpw_test.c

getpw_test: fix -Wunused warnings

- Mark unused parameters __unused.
- Put dump_passwd under DEBUG as it's only used in that case.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss gethostby_test.c

gethostby_test: fix multiple warning types

- Fix -Wmissing-declaration warning by staticizing run_tests.
- Fix -Wsign-compare warnings by casting size_t types to int
  for comparisons.

Reindent some of the code in sdump_hostent(..) to accomodate the
overall changes.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getproto_test.c

getproto_test: fix -Wunused warnings

Mark unused parameters __unused in functions.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getrpc_test.c

getrpc_test: fix -Wunused warnings

- Mark unused function parameters unused.
- Remove an unused function prototype.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getserv_test.c

getserv_test: mark unused parameters __unused to fix corresponding
warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getusershell_test.c

getusershell_test: mark mdata parameter in compare_usershell __unused

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getaddrinfo_test.c

getaddrinfo_test: mark unused function parameters __unused to fix -Wunused
warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getproto_test.c

getproto_test: fix -Wmissing-prototypes and -Wsign-compare warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getrpc_test.c

getrpc_test: fix -Wmissing-prototypes and -Wsign-compare warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getaddrinfo_test.c

getaddrinfo_test: fix -Wsign-compare warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getserv_test.c

getserv_test: fix -Wsign-compare and -Wmissing-prototypes warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — stable/10/release/tools vmimage.subr, stable/11/release/tools vmimage.subr

MFC r318872:
 Enable DHCP and IPv6 autoconfig on non-cloud VM images.

PR:                203653
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/lib/libc/tests/nss getusershell_test.c

getusershell_test: staticize run_tests(..) to fix warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD Ports — head/www/py-django110 Makefile

Update CONFLICTS_INSTALL
Delta File
+1 -1 head/www/py-django110/Makefile
+1 -1 1 file

FreeBSD Ports — head/www/py-django19 Makefile

Update CONFLICTS_INSTALL

- Sort SHEBANG_FILES
Delta File
+3 -3 head/www/py-django19/Makefile
+3 -3 1 file

FreeBSD Ports — head/www/py-django18 Makefile

Update CONFLICTS_INSTALL

- Sort SHEBANG_FILES
Delta File
+3 -3 head/www/py-django18/Makefile
+3 -3 1 file

FreeBSD Ports — head/textproc/p5-Lingua-EN-Inflect distinfo Makefile

FreeBSD Ports — head/devel/p5-ExtUtils-MakeMaker Makefile distinfo

FreeBSD Ports — head/www/tinymce Makefile

Remove CONFLICTS_INSTALL
Delta File
+0 -2 head/www/tinymce/Makefile
+0 -2 1 file

LLVM — llvm/trunk/unittests/Support CommandLineTest.cpp

Added braces to address gcc warning: suggest explicit braces to avoid ambiguous 'else' 
[-Wdangling-else]. NFC.

FreeBSD — head/lib/libc/tests/nss getgr_test.c

Fix -Wsign-compare warnings

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss getaddrinfo_test.c getgr_test.c

Staticize functions and remove unused variables to aid with bumping WARNS

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — head/lib/libc/tests/nss Makefile

Sort make variables to suit style.Makefile(5)

This is being done prior to functional changes.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon
Delta File
+8 -7 head/lib/libc/tests/nss/Makefile
+8 -7 1 file

FreeBSD — head/lib/libc/tests/nss gethostby_test.c getgr_test.c

lib/libc/tests/nss: use calloc appropriately

The pattern used prior to this commit was `calloc(1, n * sizeof(type))`;
the pattern that should be used however is `calloc(n, sizeof(type))`.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

HardenedBSD — lib/libc/tests/nss gethostby_test.c getgr_test.c

lib/libc/tests/nss: use calloc appropriately

The pattern used prior to this commit was `calloc(1, n * sizeof(type))`;
the pattern that should be used however is `calloc(n, sizeof(type))`.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD Ports — head/lang/gcc6 Makefile

I jumped the gun by marking this broken on powerpc64.  There is
active work ongoing to debug it.
Delta File
+0 -1 head/lang/gcc6/Makefile
+0 -1 1 file

HardenedBSD — usr.sbin/pw/tests pw_groupshow_test.sh pw_usershow_test.sh

pw: add some basic testcases for groupshow and usershow

- groupshow: test out -a/-g/-n .
- usershow: test out -a/-n/-u .

MFC after:        1 week
Sponsored by:        Dell EMC Isilon

FreeBSD — head/usr.sbin/pw/tests pw_groupshow_test.sh pw_usershow_test.sh

pw: add some basic testcases for groupshow and usershow

- groupshow: test out -a/-g/-n .
- usershow: test out -a/-n/-u .

MFC after:        1 week
Sponsored by:        Dell EMC Isilon

DragonFlyBSD — share/misc pci_vendors

Update the pciconf(8) database.

May 25, 2017 snapshot from http://pciids.sourceforge.net/
Delta File
+180 -79 share/misc/pci_vendors
+180 -79 1 file

FreeBSD — stable/10/sys/boot Makefile.inc, stable/10/sys/boot/efi/boot1 Makefile

MFC r309412,r316109,r316132:

r309412 (by imp):

dd is currently a bootstrap tool. It really doesn't have any business
being a bootstrap tool. However, for reproducible build output,
FreeBSD added dd status=none because it was otherwise difficult to
suppress the status information, but retain any errors that might
happen. There's no real reason that dd has to be a build tool, other
than we use status=none unconditional. Remove dd from a bootstrap tool
entirely by only using status=none when available. This may also help
efforts to build the system on non-FreeBSD hosts as well.

r316109:

Don't hardcode input files for stage 1/2 bootloaders; use .ALLSRC instead

This is a better pattern to follow when creating the bootloaders and doing
the relevant space checks to make sure that the sizes aren't exceeded (and
thus, copy-pasting is a bit less error prone).

r316132:

Parameterize out 7680 (15 * 512) as BOOT2SIZE, similar to sys/boot/i386/zfsboot/...


    [3 lines not shown]

HardenedBSD — sys/boot Makefile.inc, sys/boot/efi/boot1 Makefile

MFC r309412,r316109,r316132:

r309412 (by imp):

dd is currently a bootstrap tool. It really doesn't have any business
being a bootstrap tool. However, for reproducible build output,
FreeBSD added dd status=none because it was otherwise difficult to
suppress the status information, but retain any errors that might
happen. There's no real reason that dd has to be a build tool, other
than we use status=none unconditional. Remove dd from a bootstrap tool
entirely by only using status=none when available. This may also help
efforts to build the system on non-FreeBSD hosts as well.

r316109:

Don't hardcode input files for stage 1/2 bootloaders; use .ALLSRC instead

This is a better pattern to follow when creating the bootloaders and doing
the relevant space checks to make sure that the sizes aren't exceeded (and
thus, copy-pasting is a bit less error prone).

r316132:

Parameterize out 7680 (15 * 512) as BOOT2SIZE, similar to sys/boot/i386/zfsboot/...


    [3 lines not shown]

FreeBSD — stable/11 Makefile.inc1, stable/11/sys/boot Makefile.inc

MFC r309412,r316109,r316132:

r309412 (by imp):

dd is currently a bootstrap tool. It really doesn't have any business
being a bootstrap tool. However, for reproducible build output,
FreeBSD added dd status=none because it was otherwise difficult to
suppress the status information, but retain any errors that might
happen. There's no real reason that dd has to be a build tool, other
than we use status=none unconditional. Remove dd from a bootstrap tool
entirely by only using status=none when available. This may also help
efforts to build the system on non-FreeBSD hosts as well.

r316109:

Don't hardcode input files for stage 1/2 bootloaders; use .ALLSRC instead

This is a better pattern to follow when creating the bootloaders and doing
the relevant space checks to make sure that the sizes aren't exceeded (and
thus, copy-pasting is a bit less error prone).

r316132:

Parameterize out 7680 (15 * 512) as BOOT2SIZE, similar to sys/boot/i386/zfsboot/...


    [3 lines not shown]

HardenedBSD — usr.sbin/bsdinstall/scripts mirrorselect

    HBSD: use http instead of https in mirrorselect, since by default no certs are 
installed on installer
    
    MFC-to: 10-STABLE
    MFC-to: 11-STABLE
    X-MFC-with: eee3a095d26e5e3706c6fc94875cd82cb34a6c01
    Signed-off-by: Oliver Pinter <oliver.pinter at hardenedbsd.org>

FreeBSD — stable/10/lib/libcam camlib.c

MFC r316131:

Fix up r316081 by using nitems(cam_errbuf) instead of sizeof(cam_errbuf)

Part of my original reasoning as far as converting the snprintf
calls was to permit switching over from char[] to wchar_t[] in the
future, as well as futureproof in case cam_errbuf's size was ever
changed.

Unfortunately, my approach was bugged because it conflated the
number of items with the size of the buffer, instead of the number of
elements being a fixed size != 1 byte.

Use nitems(..) instead which counts the quantity of items of a specific
type, as opposed to an unqualified sizeof(..) (which assumes that the
number of characters is equal to the buffer size).

Noted by:        cem
Delta File
+27 -27 stable/10/lib/libcam/camlib.c
+27 -27 1 file

FreeBSD — head/share/mk bsd.init.mk

Fix INSTALL_AS_USER with external nsswitch databases

The INSTALL_AS_USER option tells "install" to use the current
user name as the owner of the installed file.  The "install"
command executed by the build is statically linked, so it does not
load nsswitch modules, such as nss_ldap.so, so it fails when
the user is only defined in such a database.

Fix it to use the current UID instead of user name.  This works
for all users.  I expect it is also slightly more efficient.

Reviewed by:        sjg
MFC after:        3 days
Sponsored by:        Dell EMC
Differential Revision:        https://reviews.freebsd.org/D10862
Delta File
+1 -9 head/share/mk/bsd.init.mk
+1 -9 1 file

FreeBSD — stable/11/lib/libcam camlib.c

MFC r316131:

Fix up r316081 by using nitems(cam_errbuf) instead of sizeof(cam_errbuf)

Part of my original reasoning as far as converting the snprintf
calls was to permit switching over from char[] to wchar_t[] in the
future, as well as futureproof in case cam_errbuf's size was ever
changed.

Unfortunately, my approach was bugged because it conflated the
number of items with the size of the buffer, instead of the number of
elements being a fixed size != 1 byte.

Use nitems(..) instead which counts the quantity of items of a specific
type, as opposed to an unqualified sizeof(..) (which assumes that the
number of characters is equal to the buffer size).

Noted by:        cem
Delta File
+27 -27 stable/11/lib/libcam/camlib.c
+27 -27 1 file

FreeBSD — head/share/mk bsd.init.mk bsd.own.mk

Fix INSTALL_AS_USER

Move INSTALL_AS_USER into bsd.init.mk to maximize the chance that
it has final authority over fooOWN and fooGRP.

Reviewed by:        sjg
MFC after:        3 days
Sponsored by:        Dell EMC
Differential Revision:        https://reviews.freebsd.org/D10810

FreeBSD — head/lib/libgeom geom_stats.c

Remove getpagesize(3) error checking added in r317312

getpagesize(3) no longer fails as of r317436.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon
Delta File
+0 -2 head/lib/libgeom/geom_stats.c
+0 -2 1 file

FreeBSD — stable/10/lib/libgeom geom_ctl.c geom_stats.c

MFC r317310,r317316:

r317310:

Minor style(9) fixups

Delete trailing whitespace and sort headers.

Leave libgeom.h's placement alone, per reasoning in r317289.

r317316:

Minor style(9) fixups

Delete trailing whitespace and sort headers.

Leave libgeom.h's placement alone, per reasoning in r317289.

FreeBSD — stable/11/lib/libgeom geom_ctl.c geom_stats.c

MFC r317310,r317316:

r317310:

Minor style(9) fixups

Delete trailing whitespace and sort headers.

Leave libgeom.h's placement alone, per reasoning in r317289.

r317316:

Minor style(9) fixups

Delete trailing whitespace and sort headers.

Leave libgeom.h's placement alone, per reasoning in r317289.

FreeBSD Ports — head/devel/libunwind Makefile

- Disable docs explicitly. Texlive is needed to build man pages and if it's detected docs 
are generated, causing plist errors.

PR:                219582
Delta File
+1 -0 head/devel/libunwind/Makefile
+1 -0 1 file

FreeBSD Ports — head/lang/gcc47 Makefile

Remove powerpc64 from ONLY_FOR_ARCHS and remove BROKEN_powerpc64.

This is an old version of GCC (a couple of generations end-of-lifed)
that is not going to be fixed realistically, and we have newer ports
that work.

Discussed with:        linimon, andreast
Delta File
+1 -3 head/lang/gcc47/Makefile
+1 -3 1 file

FreeBSD — stable/11/bin/pkill Makefile, stable/11/libexec/rtld-elf Makefile

MFC r314833
        Convert absolute links to relative links.
        Style.Makefile(9) has been ignored to produce minimal diffs.

MFC r314837
        The relative symlink fix causes downstream issues for
        EMC DELL Isilon so revert the relative symlink fix
        pending a better solution.

        Reported by:        ngie

MFC r315091
        Revert r314833 until the problem with INSTALL_RSYMLINKS can be found
        as it appears to break arm release builds.

        PR:                217705
        Reported by:        cyclaero at gmail.com

Approved by:        grehan (mentor)

FreeBSD — head/tools/regression/geom_gpt gctl_test_helper.c

Use calloc instead of malloc + memset

MFC after:        3 days
Sponsored by:        Dell EMC Isilon

FreeBSD — stable/10/tools/regression/geom_gpt gctl_test.t gctl.t

MFC 
r317290,r317291,r317292,r317293,r317294,r317295,r317304,r317306,r317307,r317308,r317309:

r317290:

Fix -Wimplicit-function-declaration compilation warning by moving libgeom.h
#include below the stdio.h #include.

gctl_dump(3) needs stdio.h, per reasoning noted in r317289.

PR:                218809

r317291:

Rename gctl.t to gctl_test.t and test.c to gctl_test_helper.c

This is being done to reduce ambiguity and to make the tests more portable
in the future to other locations in the source tree.

r317292:

gctl_test.t: use make to compile gctl_test_helper instead of calling cc directly

r317293:


    [61 lines not shown]

FreeBSD — stable/11/tools/regression/geom_gpt gctl_test.t gctl.t

MFC 
r317290,r317291,r317292,r317293,r317294,r317295,r317304,r317306,r317307,r317308,r317309:

r317290:

Fix -Wimplicit-function-declaration compilation warning by moving libgeom.h
#include below the stdio.h #include.

gctl_dump(3) needs stdio.h, per reasoning noted in r317289.

PR:                218809

r317291:

Rename gctl.t to gctl_test.t and test.c to gctl_test_helper.c

This is being done to reduce ambiguity and to make the tests more portable
in the future to other locations in the source tree.

r317292:

gctl_test.t: use make to compile gctl_test_helper instead of calling cc directly

r317293:


    [61 lines not shown]