Commit Graph

3806 Commits

Author SHA1 Message Date
joerg
5d70299db9 NUL != NULL, so use the correct literal 2013-11-18 19:55:29 +00:00
skrll
1cd7a8f9b7 Fix silly typo 2013-11-14 12:44:25 +00:00
martin
3d01f81a9c On sparc64 when compiling 64bit binaries:
- if proper "marker" objects exist, encode the code model in use in the
   binary
 - default to -mcmodel=medmid (instead of medlow)
2013-11-14 12:21:05 +00:00
martin
7c50380698 Fix typo in previous 2013-11-14 09:11:39 +00:00
roy
2975c235a4 Fix setsockopt(2) error. 2013-11-14 08:26:54 +00:00
christos
5774707710 CID 1102787: Only copy the interface name if it is NUL terminated, avoiding
a buffer overrun by one in the equals case.
2013-11-14 04:24:33 +00:00
christos
901b1f0b31 miminize diff to original. 2013-11-14 02:27:29 +00:00
christos
5435e94952 CID 1102803: Memory leak 2013-11-14 02:26:35 +00:00
christos
7524cd91bf CID 1102804: Memory leak 2013-11-14 01:39:26 +00:00
christos
13df76e42e 1102805: Memory leak 2013-11-14 01:36:00 +00:00
christos
dbb1d6e3ee CID 1102809: Fix uninitialized variable 2013-11-14 01:28:16 +00:00
christos
16129349e4 CID 1102810: Fix uninitialized 2013-11-14 01:18:02 +00:00
christos
95ea4fb705 CID 1102811: Unitialized variable. Don't pass random sun_len for the BSD's,
zero the whole structure as recommended for portability.
2013-11-14 01:14:39 +00:00
christos
cf3d00d2c6 CID 1102856: Fix memory leak 2013-11-14 01:12:14 +00:00
christos
87ddf4238e CID 1102812: Fix uninitialized 2013-11-14 01:00:22 +00:00
joerg
afecdbd810 Update build system for C++14 support. 2013-11-12 16:39:39 +00:00
joerg
b17548bd54 Update LLVM/Clang snapshot to r194393 for the FPU changes on x86. 2013-11-11 23:51:36 +00:00
joerg
3344572a41 Import libc++ r194207. This brings in various bug fixes, a good chunk of
support for the up-coming C++14 and improved compatibility with various
compilers other than Clang.
2013-11-11 23:42:23 +00:00
joerg
70f0cfa164 NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.

Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
christos
f55ff5e8dd vax specific gcc 4.8.1 hacks 2013-11-09 21:39:27 +00:00
christos
644993d9ca another gcc workaround 2013-11-09 00:26:06 +00:00
christos
45dd466bd9 Don't use SIG_register to register a SIG_IGN handler. It thinks it registers
a fucntion, but then it ends up calling (*1)(13) with all signals blocked
so cvs spins (with all signal blocked, getting SEGV). Use plain signal instead
To reproduce: cvs log file | less and quit.
2013-11-07 20:09:55 +00:00
macallan
f620771e1d build EXA support, tested on macppc 2013-11-06 14:53:29 +00:00
gdt
0b42bf56be Use -f with cp to cope with nonwritable files in . 2013-11-05 02:32:12 +00:00
christos
6ace2266c5 mark unused function as used. 2013-11-02 17:12:23 +00:00
christos
bdf9816273 these can never be null. 2013-11-02 17:11:39 +00:00
christos
c9aa9a4e40 fix broken volatile assignment that gcc-4.8.1 does not like 2013-11-01 18:13:29 +00:00
christos
5612798f34 make the code compilable with gcc-4.8.1; this loop has an array overflow,
but it is only used for sparc register windows; ifdef it sparc for now,
it's the easiest fix.
2013-11-01 18:12:49 +00:00
christos
cb2bd1517d pick up omp.h from the libgomp directory not from /usr/include/gcc-4.5. Makes
the code compilable with gcc-4.8.1
2013-11-01 18:11:49 +00:00
mlelstv
77a7376bce rfc3720 Appendix D. SendTargets Operation requires that requesting
information for all relevant targets is done with the value 'All'
(upper case A) and some implementations require it.
2013-11-01 07:53:34 +00:00
christos
79581a2559 Handle more than gcc 4.5 2013-10-31 17:28:10 +00:00
joerg
6808667375 Update LLVM/Clang snapshot to r193633. Fixes an old and somewhat amusing
bug involving a source file foo.c, a function foo and a static
function-local variable c in the direct object writer.
2013-10-30 20:27:39 +00:00
christos
f2361eace1 Ignore SIGPIPE; this is silly, we are getting EOF from a client, then while
processing the error SIGPIPE comes because the client closed the connection,
and then we end up calling error() while processing the error which prints
silly messages on the console because it logs with LOG_EMERG.
2013-10-30 14:25:47 +00:00
hannken
65b1f85ab6 Vnode API cleanup pass 1.
- Make these defines and functions private to vfs_vnode.c:

  VC_MASK, VC_LOCK, DOCLOSE, VI_IANCTREDO and VI_INACTNOW
  vclean() and vrelel()

- Remove the long time unused lwp argument from vrecycle().

- Remove vtryget(), it is responsible for ugly hacks and doesn't
  look that effective.

Presented on tech-kern.

Welcome to 6.99.25
2013-10-29 09:53:51 +00:00
mlelstv
9562031f49 Fix memory leak in gensub() 2013-10-27 10:06:01 +00:00
wiz
6956d16a53 Fix macro usage and xrefs. 2013-10-26 22:59:28 +00:00
wiz
9103078abc Fix xrefs. 2013-10-26 22:58:29 +00:00
wiz
467646f52e Formatting and macro usage fixes. Fix xrefs. 2013-10-26 22:58:04 +00:00
wiz
d01548e7ff Syntax and formatting fixes. Add missing command. Explain 'sb'. 2013-10-26 22:55:51 +00:00
joerg
a07180c32d Recursively add DT_NEEDED entries from shared libraries if symbols are
used indirectly. This is more in line with the old GNU ld behavior, but
not exactly the desired semantic.

Patch from Martin Husemann.
2013-10-25 14:28:28 +00:00
martin
32c67f0c83 PR 48338: fix typo making a boolean expression always true 2013-10-24 19:13:25 +00:00
joerg
5b20895cf8 Update LLVM/Clang snapshot to r193064 for another bugfix related to
exception handling.
2013-10-21 19:27:55 +00:00
christos
419fd4e177 NetBSD does not have vn_in_dnlc 2013-10-21 15:31:26 +00:00
christos
49a7e4835b remove unused variable 2013-10-20 21:35:46 +00:00
joerg
7997799121 Update to LLVM/Clang r193040 for a bug fix in the phi splitting around
landing pads.
2013-10-20 14:53:22 +00:00
christos
598bc8c2fc avoid pointer gymnastics 2013-10-20 03:14:34 +00:00
christos
01073c00ad fix unused variable warnings 2013-10-20 03:14:21 +00:00
christos
45b261d12f remove unused variables 2013-10-20 03:10:45 +00:00
christos
64a05fe87b fix unused variable warnings 2013-10-20 03:09:11 +00:00
christos
751bae8fd5 remove unused variables 2013-10-20 03:02:26 +00:00