Author: cy Date: Tue Dec 5 20:06:53 2017 New Revision: 326575 URL: https://svnweb.freebsd.org/changeset/base/326575
Log: Fix build after r326554; reconnect sponge to build again. Modified: head/usr.bin/Makefile head/usr.bin/sponge/sponge.c Modified: head/usr.bin/Makefile ============================================================================== --- head/usr.bin/Makefile Tue Dec 5 19:55:53 2017 (r326574) +++ head/usr.bin/Makefile Tue Dec 5 20:06:53 2017 (r326575) @@ -148,6 +148,7 @@ SUBDIR= alias \ soelim \ sort \ split \ + sponge \ stat \ stdbuf \ strings \ Modified: head/usr.bin/sponge/sponge.c ============================================================================== --- head/usr.bin/sponge/sponge.c Tue Dec 5 19:55:53 2017 (r326574) +++ head/usr.bin/sponge/sponge.c Tue Dec 5 20:06:53 2017 (r326575) @@ -172,7 +172,8 @@ main(int argc, char* argv[]) bufremain = bufcnt; while (bufremain > 0) { - whichbuf = (bufremain < maxiovec) ? bufremain : maxiovec; + whichbuf = bufremain < (unsigned long) maxiovec + ? bufremain : maxiovec; bufremain -= whichbuf; i = writev(fd, iov, whichbuf); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"