svn commit: r250972 - head/usr.bin/patch
Glen Barber
gjb at FreeBSD.org
Sat May 25 05:11:30 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130525/b80b63d9/attachment.sig>
More information about the svn-src-all
mailing list