Commit Graph

241330 Commits

Author SHA1 Message Date
dholland
18a2ad4d42 Mark the shared files with where they're used, like we do in pkgsrc. 2016-03-13 00:33:12 +00:00
dholland
d9047ae69b Use functions instead of preprocessor abuse. 2016-03-13 00:32:09 +00:00
snj
b247a5c33c ntp 4.2.8p6 is out. 2016-03-13 00:09:46 +00:00
mrg
e2bee4685a remove conditionals that are always true with GCC >= 4.8. 2016-03-12 23:08:58 +00:00
mrg
3d2fbcae7f add /usr/include/gcc-5 directory to the distribution and adjust the
GCC 5 parts of the build (not yet enabled) to install/look there.
2016-03-12 23:07:05 +00:00
dholland
a4df8c35e0 a couple minor fixes 2016-03-12 22:37:32 +00:00
dholland
710ed66d56 Use execl() correctly. 2016-03-12 22:28:04 +00:00
dholland
1bdc2bf3d4 Add some additional BUGS. 2016-03-12 22:17:23 +00:00
dholland
84481ccbd0 Rework for clarity. 2016-03-12 22:07:48 +00:00
mrg
24e920b77f minor updates for GCC 5. 2016-03-12 21:51:02 +00:00
mrg
7b2001e466 fix a minor merge botch. 2016-03-12 21:50:39 +00:00
christos
5047abd140 Don't close-on-exec redirections created explicitly for the command being
ran; i.e. we want this to work:
	$ cat succ1
	#!/bin/sh
	./succ2 6>out

	$ cat succ2
	#!/bin/sh
	echo succ2 >&6

	$ ./succ1

And this to fail:
	$ cat fail1
	#!/bin/sh
	exec 6> out
	echo "fail1" >&6
	./fail2
	exec 6>&-

	$ cat fail2
	#!obj.amd64/sh
	echo "fail2" >&6

	$ ./fail1
	./fail2: 6: Bad file descriptor

XXX: Do we want a -k (keep flag on exec to make redirections not close-on-exec?
2016-03-12 21:35:13 +00:00
dholland
dde5a5b4ad Minor tidyups. 2016-03-12 21:20:17 +00:00
christos
f87bc150c8 Improve quoting in the output from sh -x - use less unnecessary
quotes ('_' and '.' do not need quoting) and never quote the '=' in
an assignment (or it would not be one.) From kre, with some refactoring
to be blamed to me.
2016-03-12 14:59:26 +00:00
christos
796504694c Implement TEST_SH for this test, add a test or two, and also some
commentary to explain some of the weirdness of shell quoting. (from kre@)
2016-03-12 14:58:03 +00:00
martin
9dbda5ea54 Backout previous - need coffee first 2016-03-12 12:21:37 +00:00
martin
820268b0ef Fix masking for the fpsetmask_basic test, pointed out by Timo Buhrmester 2016-03-12 11:55:14 +00:00
martin
1ad22223be Mark a variable as __diagused. 2016-03-12 11:45:59 +00:00
kardel
641d22c5f7 do no access uninitialized variables in KASSERTs - fixes build 2016-03-12 10:51:00 +00:00
joerg
b17f910c4a When no gcc but clang can be found, fallback to the latter instead of
failing the tests.
2016-03-12 08:55:54 +00:00
joerg
b2f469507c Implement most of mount -ur functionality for tmpfs. Remaining issue is
the question who is responsible for syncing pending writes, but the
functionality is good enough for serving as read-only chroot base in
bulk builds.
2016-03-12 08:51:13 +00:00
joerg
d547094d79 Only recheck size/node limits on update mounts, if there actually have
been specified.
2016-03-12 08:45:23 +00:00
ozaki-r
3a591e0ce2 Add debugging code and enable it by default
to know what is happening on anita (qemu)
2016-03-12 06:15:31 +00:00
dholland
cde3d9a6b5 tetris(6) is not limited to CRT displays. noted by tnn 2016-03-12 03:14:59 +00:00
dholland
d548b4af6b snake(6) supports LCD displays too. (noted by tnn) 2016-03-12 03:13:52 +00:00
dholland
a4db6377a4 NetBSD does actually support flat-panel displays. Even for systat(1).
(noted by tnn)
2016-03-12 02:39:01 +00:00
christos
f28bf2dc9d PR/50951: Unmess this up. 2016-03-12 02:36:25 +00:00
dholland
cb7768eac3 Close file on error path. PR 50925 from David Binderman. 2016-03-12 02:27:31 +00:00
dholland
5a1d7e46f3 Don't cast malloc. 2016-03-12 02:26:40 +00:00
dholland
32cef18b87 Remove unused variable, found by gcc. 2016-03-12 02:17:05 +00:00
dholland
a9e4e98629 Fix syntax error in previous. Hi christos :-)
(PR 50944)
2016-03-12 02:15:50 +00:00
dholland
88c859a1fb Refine previous so the output is all hex again. followup to PR 50942 2016-03-12 02:13:35 +00:00
dholland
666bec36a3 Fix another conditional with wrong (missing) parens. 2016-03-12 02:07:44 +00:00
dholland
5488f4aae3 Clean up gcc warnings. 2016-03-12 02:06:32 +00:00
dholland
48fa59d156 Remove trailing whitespace 2016-03-12 02:02:00 +00:00
dholland
49f907c597 Fix operator precedence in complex conditional by separating out the
assignment part. PR 50954 from David Binderman. While here, separate
out the assignment in all the other similar conditionals too.
2016-03-12 02:01:23 +00:00
jklos
7f15b0acd9 Add kernel configuration file for PogoPlug Pink, PogoPlug Mobile and
PogoPlug v4. Add conditional because PogoPlug v4 can't run SD interface at
50 MHz.
2016-03-12 00:41:30 +00:00
christos
5a1e5090da Add missing ;; (Kurt Lidl) 2016-03-11 22:40:04 +00:00
macallan
327c8d271f malo_rx_desc::status is uint8_t, so don't try to endian-twiddle it 2016-03-11 22:39:01 +00:00
macallan
ace06e28b0 fix tpyo 2016-03-11 22:09:54 +00:00
christos
9c2b425841 PR/50953: David Binderman: Fix misplaced paren 2016-03-11 18:39:03 +00:00
christos
95614a30c2 PR/50952: David Binderman: Clarify expression 2016-03-11 18:38:25 +00:00
christos
850b4cce27 PR/50951: David Binderman: Fix misplaced parens 2016-03-11 18:35:50 +00:00
christos
3dce53befa PR/50950: David Binderman: Fix misplaced parens 2016-03-11 18:34:59 +00:00
christos
aa3efa577d PR/50949: David Binderman: Fix misplaced parens. 2016-03-11 18:34:15 +00:00
christos
9da51837fd PR/50948: David Binderman: Fix misplaced parens 2016-03-11 18:33:18 +00:00
christos
8cc2b02f1c PR/50947: David Binderman: sprinkle parens 2016-03-11 18:32:29 +00:00
christos
c01666f5da PR/50945: David Binderman: sprinkle parens 2016-03-11 18:31:03 +00:00
christos
c5bd235187 PR/50944: David Binderman: sprinkle parens 2016-03-11 18:29:48 +00:00
christos
a8a1a8c522 PR/50943: David Binderman: Fix misplaced parenthesis. 2016-03-11 18:28:43 +00:00