kre
83735e242c
DTRT when dynamically generated variables return "unset" instead of
...
a value. There are none which do that at the minute, so this is a NFCI
change, which is just making the code correct even though nothing
currently triggers any bugs.
2019-02-09 09:38:11 +00:00
kre
733a465e66
DEBUG mode change only. Add one extra trace point. NFC for normal builds.
2019-02-09 09:34:43 +00:00
kre
750dbf249a
When an interactive shell exits due to an EOF on stdin, send a newline
...
to stderr (to follow the previous prompt) and cleanup more nicely.
2019-02-09 09:33:20 +00:00
kre
ccf5ffdbe9
In the unlikely event that restarting a job fails (the fg bg and various
...
%x commands) generate the most useful error message (from errno value)
rather than whichever happened last.
In posix mode, cause the "jobs" command to delete records of completed
jobs it reports on (as posix requires) as is done in interactive shells.
We don't (won't) do this in !posix mode, as the ability to throw in a
"jobs" command in a script to debug what is happening is too useful to
lose -- and any script that is relying on "jobs" instead of "wait" to
cleanup background processes (from the sh jobs table, sh always collects
zombies from the kernel) is absurd and not worth considering (besides
which I've never seen one).
2019-02-09 09:31:33 +00:00
kre
b4a242b5e2
KNF - white space changes, indent using tabs not spaces. NFC.
2019-02-09 09:20:47 +00:00
kre
39879a1c65
DEBUG mode build changes - add extra trace output.
...
NFC for any normal shell build.
2019-02-09 09:17:59 +00:00
kre
f42ddab0ac
Delete extern decl for trap[] - hasn't been needed for a while now.
2019-02-09 09:15:22 +00:00
kre
3dbd860142
Allocate alias pointers for qsort() to use on the stack, rather than
...
directly via malloc() so they get cleaned up correctly on error/intr.
NFCI.
2019-02-09 09:11:07 +00:00
rin
f384630a8c
Add 8153, sort adapters.
2019-02-09 08:08:32 +00:00
rin
df4ea585b2
Add Realtek RTL8201E and IC Plus IP101.
2019-02-09 08:07:13 +00:00
rin
7ff3e5cb80
Elucidate chip family of supported adapters.
2019-02-09 07:55:26 +00:00
rin
04ee4dcd28
Add examples of supported adapters.
2019-02-09 07:54:51 +00:00
rin
83f776bffe
Print chip ID when attached.
2019-02-09 07:50:47 +00:00
rin
deaee5c010
Support RTL8152. Tested on ure(4) (RTL8152).
2019-02-09 07:48:39 +00:00
rin
86d8126159
regen
2019-02-09 07:46:07 +00:00
rin
52e8dc9062
Add RTL8201E from OpenBSD.
2019-02-09 07:45:34 +00:00
mrg
7f3d4089fc
make sure Makefile.inc is included before Makefile.driver.
...
allows removing a depend hack and may also fix dtrace/ctf builds.
2019-02-09 07:32:50 +00:00
skrll
53a81a2f84
Typo in comment
2019-02-09 07:20:21 +00:00
skrll
e20dfc41c6
Print revidr of BP as well as APs
2019-02-09 07:19:02 +00:00
mrg
bbaa4a4045
- build the gthr*.h files to be installed on the fly, instead of
...
having dozens of copies of the same thing in the tree.
- don't fetch any gthr*.h files.
- delete ancient gthr-tpf.h that was removed in GCC 4.8 or so.
this should fix the call_once tests for real now.
2019-02-09 03:57:00 +00:00
kre
e8999de45c
INTON / INTOFF audit and cleanup.
...
No visible differences expected - there is a remote chance that
some internal lossage may no longer occur in interactive shells
that receive SIGINT (untrapped) at inopportune times, but you would
have had to have been very unlucky to have ever suffered from that.
2019-02-09 03:35:55 +00:00
christos
95d8fbc88d
- Change the allocation macros to be more like function calls
...
- Change sizeof(type) -> sizeof(*variable)
- Use macros for the long buffer length allocations
- Remove "bit polishing" memsets() -- do them only once
- Remove unnecessary casts
Thanks to oster@ for finding bugs and testing.
2019-02-09 03:33:59 +00:00
mrg
db06f203b4
fix the previous - it's __NetBSD__, not __NetBSD.
2019-02-09 02:43:11 +00:00
mrg
f2b804bcea
remove old comment.
2019-02-09 02:36:56 +00:00
mrg
01ef24fd3f
fix hello_profile's hello_profile_head function name.
2019-02-09 02:36:28 +00:00
manu
ef486683cc
Fix directory filehandle usage with libufse. Fix lookup count
...
libfuse does not use filehandle the same way for directories and other
objects. As a result, filehandles obtained by OPENDIR should not be
sent on non-directory related operations like READ/WRITE/GETATTR...
While there, fix the lookup count sent to the FORGET operation, which
led to leaked nodes.
2019-02-09 02:22:45 +00:00
mrg
1383461bd0
mark ./usr/include/g++/bits/aarch64/c++config.h and
...
./usr/include/g++/bits/arm/c++config.h as "libstdcxx" not "gcc=6".
2019-02-09 02:15:05 +00:00
mrg
a030aaf208
move ./usr/include/dev/iscsi into NetBSD.dist.iscsi that is only
...
included if MKISCSI != no.
2019-02-09 02:04:19 +00:00
mrg
5b0105b4d4
update switched lists.
2019-02-09 01:29:38 +00:00
christos
0166c051fe
Follow suit with FreeBSD and solaris for the __gthread_active_p()
...
implementation. Fixes the atf call_once unit tests.
2019-02-09 01:27:43 +00:00
mrg
fccd79354b
switch ppc64 back to gcc7, it was an accident.
2019-02-09 00:59:30 +00:00
mrg
07cbfd6044
put config/posix first in the path so that the right lock.c is used.
2019-02-09 00:48:59 +00:00
mrg
cd2fa45002
create i386 specific include directories.
2019-02-09 00:15:28 +00:00
mrg
c39df26c59
add new t_libgomp test.
2019-02-09 00:14:43 +00:00
mrg
f4fc04f995
add $NetBSD$ tags.
2019-02-09 00:13:19 +00:00
mrg
9ca42b4c5e
add very simple test that you can link -fopenmp.
...
currently fails, but should work soon...
2019-02-09 00:12:14 +00:00
mrg
6b8fbde2b5
add missing ./usr/include/xen
2019-02-08 23:27:14 +00:00
mrg
928cce347f
define CAN_SANITIZE_UB properly: libasan and libtsan need to not
...
have it set, libubsan needs to have it set.
fixes almost all the new atf failures from GCC 7 switch.
2019-02-08 22:06:12 +00:00
palle
9542a629ba
sun4v: Improve comment for next_stick_init() - no functional changes
2019-02-08 20:34:23 +00:00
christos
42d33e97c5
Remove the copy of bind?!?! used for its libraries...
2019-02-08 20:29:05 +00:00
palle
2df6c1fc3b
sun4v: initialize %stickcmpr properly when establishing interrupt - fixes issue seen on newer sun4v/SPARC-T5 system where the interrupt never fires.
2019-02-08 20:14:50 +00:00
palle
f23fb3eab1
Introduce getstickcmpr() function
2019-02-08 20:09:24 +00:00
palle
654c5f5028
sun4v: update the TODO file noting (at least) some progess with sun4v
2019-02-08 19:55:40 +00:00
palle
d4265d9dcb
sun4v: introduce macros for handling spill traps from userlevevel @ traplevel 1 (from OpenBSD) - spill traps at level 1 from userspace now works better
2019-02-08 19:45:24 +00:00
palle
aacaeb3360
sun4v: add comment documenting the contents of the %g2 register - no functional changes
2019-02-08 19:26:25 +00:00
christos
934117fbf7
PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
...
The test to check if force was reversed when the code was factored out.
2019-02-08 13:37:46 +00:00
mrg
37a8336060
add a quick note about gcc 7 likely causing update build failures.
2019-02-08 09:57:01 +00:00
mrg
3330ae4f37
IA64_NO_LIBGCC_TFMODE is no more.
2019-02-08 09:42:13 +00:00
mrg
20154e01b0
note GCC 6.5 and 7.4 imports.
2019-02-08 09:39:14 +00:00
mrg
b4f3db3927
switch aarch64, alpha, i386, mips, powerpc, sparc, sparc64,
...
and x86_64 to GCC 7.
2019-02-08 09:35:00 +00:00