Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas an
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas and introduced a WARNS=7 and wanted to try lifting the default tothat.Drop most of them; there is one in the blake2 kernel module, but I suspectit should be dropped -- the default WARNS in the rest of the build doesn'tcurrently apply to kernel modules, and I haven't put too much thought intowhether it makes sense to make it so.
show more ...
Fix warnings with gcc 5.0reconnect.c:- Convert the K&R prototype of main to an ANSI prototype to mute a warning from gcc 4.2.1- Close s_sock2 after finishing off the last test to plug a leak an
Fix warnings with gcc 5.0reconnect.c:- Convert the K&R prototype of main to an ANSI prototype to mute a warning from gcc 4.2.1- Close s_sock2 after finishing off the last test to plug a leak and mute a warning from gcc 5.0 about a -Wunused-but-set variablesendfile.c:- Fix a -Wunused-but-set warning with gcc 5.0 with pagesize in main(..)MFC after: 5 daysSponsored by: EMC / Isilon Storage Division
Fix LDADD/DPADD that should be LIBADD.Sponsored by: EMC / Isilon Storage Division
- Don't use /tmp because it's outside ATF's prescribed sandbox- Replace a hardcoded PATH_MAX value with sizeof(path)- Use path like an array, not a pointer, and always try to unlink it in cleanup
- Don't use /tmp because it's outside ATF's prescribed sandbox- Replace a hardcoded PATH_MAX value with sizeof(path)- Use path like an array, not a pointer, and always try to unlink it in cleanupMFC after: 1 weekSponsored by: EMC / Isilon Storage Division
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will beaddressed in a future commit.
Add a sendfile regression test for transmit length > file size.This test identified the issue fixed in FreeBSD-SA-13:11.sendfile.Sponsored by: The FreeBSD FoundationApproved by: re (glebius)
Allow to specify path to a file we want to test with sendfile(2).This allows to specify selected file system and not only /tmp/.
Fixed missing or broken library dependencies.
Update the sendfile regression test so that it outputs results in theTAP format.Add a checksum to verify that the data hasn't been corrupted betweenbeing read from disk and being received.Approv
Update the sendfile regression test so that it outputs results in theTAP format.Add a checksum to verify that the data hasn't been corrupted betweenbeing read from disk and being received.Approved by: rrs (mentor)
o Correct a comment: a test file size is a four pages not three.
Test sending 0 bytes.
Fix length calculation.
Valid error codes for err() and errx() are 1..255.The correct format specifier for ssize_t is %zd.
Add more tests to verify last sendfile(2) breakage: test sending morethan a page size and nbytes=0.
o style.Makefile(5): WARNS= -> WARNS?=.
Use WARNS and rely on rules rather than an explicit target for thetest binary.Reported by: maxim
Add a basic regression test for sendfile() over TCP, which sends varyinglengths of headers and data and makes sure it receives about the rightnumber of bytes.