On Fri, May 24, 2013 at 06:54:52PM +0000, Stefan Esser wrote: > Author: se > Date: Fri May 24 18:54:52 2013 > New Revision: 250972 > URL: http://svnweb.freebsd.org/changeset/base/250972 >
> [...] > @@ -977,7 +977,7 @@ spew_output(void) > #endif > if (input_lines) > copy_till(input_lines, true); /* dump remainder of file */ > - rv = ferror(ofp) == 0 && fclose(ofp) == 0; > + rv = ferror(ofp) == 0 & fclose(ofp) == 0; > ofp = NULL; > return rv; > } > This breaks head/. ===> usr.bin/patch (all) cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-paramete r -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-str ings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-exter ns -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/patch/backupfile.c cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-paramete r -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-str ings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-exter ns -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/patch/inp.c cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-paramete r -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-str ings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-exter ns -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/patch/mkpath.c cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-paramete r -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-str ings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-exter ns -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/patch/patch.c cc1: warnings being treated as errors /src/usr.bin/patch/patch.c: In function 'spew_output': /src/usr.bin/patch/patch.c:980: warning: suggest parentheses around comparison in operand of & *** Error code 1 Stop. make: stopped in /src/usr.bin/patch *** Error code 1 Stop. make: stopped in /src/usr.bin *** Error code 1 Glen
pgpr7IP9xbLGK.pgp
Description: PGP signature