Commit Graph

241433 Commits

Author SHA1 Message Date
christos
c1d7b11ef3 add Will Robinson comment. 2016-03-16 22:35:44 +00:00
christos
1417657ee3 change static to volatile. 2016-03-16 22:32:32 +00:00
christos
b4f0f90a59 Avoid gcc-5 conversion warning (|= expands to int) 2016-03-16 22:25:05 +00:00
christos
c7894c4458 remove unused variable 2016-03-16 21:41:25 +00:00
christos
9dca99590e Avoid setjmp clobbering. 2016-03-16 21:38:22 +00:00
christos
0c73873e5c Keep redirs for subshells. 2016-03-16 21:20:59 +00:00
christos
e9d687bae2 Add the shift test 2016-03-16 21:14:35 +00:00
christos
e04f666a7e Better tests for redircloexec and add t_shift (from kre) 2016-03-16 21:13:51 +00:00
christos
8cf4c21bed CID 1356385: Add fallthrough comment 2016-03-16 21:09:39 +00:00
christos
936fc04948 CID 1356389: Remove TOCTOU. 2016-03-16 21:07:59 +00:00
christos
47690f3506 CID 1356388: Prevent DoS from Tainted scalar 2016-03-16 21:06:06 +00:00
christos
e5012983f9 CID 1356387: Wrong sizeof 2016-03-16 21:01:28 +00:00
christos
6520304603 CID 1356386: Don't leak sock 2016-03-16 21:00:37 +00:00
christos
76b039a9c6 CID 1356384: Check returns 2016-03-16 20:57:46 +00:00
christos
a2730ae23c CID 1018734: Unitialized variable 2016-03-16 20:55:54 +00:00
wiz
fc64986abe expat-2.1.1 out. 2016-03-16 20:17:42 +00:00
christos
3b6be3a09c parenthesize for safety. 2016-03-16 19:02:26 +00:00
mrg
2dc66b067e make the GCC 4.8 specific hack for ci.clean being set GCC >= 4.8. 2016-03-16 18:58:34 +00:00
mrg
de0f137f4a updates sparc* sets for GCC 5.3. 2016-03-16 18:10:00 +00:00
mrg
12cc99b35b mknative-gcc for GCC 5.3 and sparc64. 2016-03-16 18:07:16 +00:00
christos
487f18f8df remove binary test and other cleanups (from kre) 2016-03-16 17:39:12 +00:00
christos
6f9ac0be1e Remove wrong unsigned cast, index can be negative. Cast char to int so that
gcc does not warn. Probably better to do the offset at runtime, but that
would cost more.
2016-03-16 17:01:39 +00:00
christos
a75799a386 Add PAX_SEGVGUARD disabled. 2016-03-16 16:13:16 +00:00
matthias
6c56f993ef honor setting .MAKE.JOBS from the makefile. That way one can e.g. do:
CPUS!=sysctl -n hw.ncpuonline
.MAKE.JOBS?=$(CPUS)
2016-03-16 16:04:44 +00:00
christos
98bb0ff499 new sh tests 2016-03-16 15:51:15 +00:00
christos
96320c1795 New tests from kre 2016-03-16 15:49:19 +00:00
christos
58a5df4203 factor out common code in macro. 2016-03-16 15:48:01 +00:00
christos
5f0a664efb Revert (kind of) the change in 1.12 of the ancient mksyntax.sh script
(undoing the effect of that commit on syntax.h when it was
being dynamically generated) from 1996.   This means that the shell
parser is now locale independent, so scripts that work anywhere will
work consistently everywhere.   Inspired by a similar change in
FreeBSD's sh (from 2010) - the original change in the other direction
came from FreeBSD as well....   Note that this does not in any way
add any kind of support for locales to sh (which is a whole different
problem.) (from kre)
2016-03-16 15:45:40 +00:00
christos
8c844a2ebd PR/19832, PR/35423: Fix handling 0x81 and 0x82 characters in expansions
($VAR etc) that are used to generate filenames for redirections. (from kre)
2016-03-16 15:44:35 +00:00
christos
5b34482515 PR/50960: The || and && operators in $(( )) should always have a 0 or 1
result, never anything different. (from kre)
2016-03-16 15:43:38 +00:00
christos
9815d7fee4 PR/50958: (partial fix) - support ?: expressions in arith expansions
(from kre)
2016-03-16 15:42:33 +00:00
christos
fc1f924a3b PR bin/50959 - allow consistent use of 0X hex constants (not just 0x)
(from kre)
2016-03-16 15:41:55 +00:00
mrg
8bf117ec5f mknative-gcc for GCC 5.3 and sparc 2016-03-16 11:24:16 +00:00
mrg
6550c74580 grab insn-modes.h, and do the libgcc bootstrap from gcc as well. 2016-03-16 11:16:05 +00:00
mrg
db843c8c09 for now, use a mknative-gcc copy of insn-modes.h and ensure that it
matches during the build.  the copy is used for everything, but it
is needed for libgcc and libgomp early on.

regen i386.
2016-03-16 10:56:20 +00:00
mrg
fd7d023d0b regen. 2016-03-16 09:30:43 +00:00
mrg
3890e54546 rework to avoid new GCC 5.3 errors and improve readability 2016-03-16 07:21:36 +00:00
mrg
849ca3bc36 disable some asan stuff for now. 2016-03-16 07:17:14 +00:00
mrg
a37431532b unwind.h has a new problem, and fix the grabbing of x86 specific files. 2016-03-16 05:47:43 +00:00
mrg
2084d61b21 apply an ugly hack to force-build insn-modes.h for libgcc and libobjc
since they want it now.

XXX:  super ugly, probably can be fixed by rearranging a bunch of what
XXX:  is currently in ../usr.bin/backend/ that builds insn-modes.h.
2016-03-16 05:44:16 +00:00
mrg
3d6404b178 spell $NetBSD$ with the trailing $. 2016-03-16 05:42:07 +00:00
mrg
6ce58dac48 libgcc needs to be fully built before others (so that headers are)
so add a .WAIT.  make sure to check MKCXX for libs??c++*.

XXX turn of libasan for now.
2016-03-16 05:41:47 +00:00
mrg
870bd13ce2 GCC 5.3 sets for amd64. 2016-03-16 05:39:49 +00:00
mrg
b56ef02ca2 quote AD and LD. 2016-03-16 05:33:50 +00:00
mrg
c88c737d14 remove remaining mudflap bits 2016-03-16 05:33:16 +00:00
mrg
09c829cfb6 GCC 5.3 sets (just for i386 so far) 2016-03-16 05:32:09 +00:00
mrg
528265ab04 first stab mknative-gcc for GCC 5.3 and amd64. 2016-03-16 05:29:39 +00:00
mrg
04e7f39aac avoid rebuilding the INSTALL file which may be in a r/o src dir. 2016-03-16 00:52:41 +00:00
sjg
2271de011e Fix syntax 2016-03-16 00:19:01 +00:00
mrg
9f49350839 regen 2016-03-15 21:43:24 +00:00