alnsn
38047b2736
Don't enter infinite loop on big ktr_len values.
...
Fixes PR 49460.
2016-03-27 21:51:20 +00:00
christos
f3a6400cd0
sprinkle more volatile (distribution build with gcc-5.3)
2016-03-18 18:42:25 +00:00
christos
0f160f0ea7
match the updated <sys/types.h> definition
2016-03-18 15:05:49 +00:00
christos
e5012983f9
CID 1356387: Wrong sizeof
2016-03-16 21:01:28 +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
sjg
2271de011e
Fix syntax
2016-03-16 00:19:01 +00:00
matthias
5c97c6933e
Another small change to make archive member rules work. With this change
...
archive member rules seem to work as expected again.
2016-03-15 18:30:14 +00:00
matthias
7215e4a264
dynamic dependencies for library member targets are working again.
2016-03-15 06:25:14 +00:00
wiz
8abecf66a7
Be more precise.
2016-03-14 09:53:37 +00:00
matthias
00a4845b58
make $@ an alias for $! in archive member rules (compatibility with
...
other makes).
2016-03-14 07:42:15 +00:00
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
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
dholland
dde5a5b4ad
Minor tidyups.
2016-03-12 21:20:17 +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
9c2b425841
PR/50953: David Binderman: Fix misplaced paren
2016-03-11 18:39:03 +00:00
matthias
d405a55bc6
$% is $(.MEMBER) and not $(.ARCHIVE), $! is $(.ARCHIVE) and not $(.MEMBER)
2016-03-11 15:12:39 +00:00
matthias
449c0b7d1f
make parsing of library member targets work. So
...
lib.a(member.o): something
cp something member.o
ar r lib.a member.o
rm member.o
will work now.
2016-03-11 13:54:47 +00:00
sjg
6067bdd115
Handle missing file for Read the same as for Write, since if it
...
is Deleted we don't care.
Patch from Bryan Drewery.
2016-03-11 07:01:21 +00:00
joerg
7682402b4b
Unbreak tools build.
2016-03-10 11:32:10 +00:00
christos
e37f4314dd
PR/50932: David Binderman: use emalloc/erealloc/ecalloc
2016-03-09 20:02:33 +00:00
chs
8da07e54f6
in find_idle_and_ttywrite(), initialize idletime and writable to 0
...
when stat() fails. this prevents a coredump later in stimeprint()
due to gmtime() returning NULL for an uninitialized idletime.
2016-03-09 16:12:14 +00:00
christos
f6295e9141
PR/50914: David Binderman: Fix memory leaks.
...
While here, fix error handling too.
2016-03-08 20:13:44 +00:00
martin
212399f8da
Gcc, please shut up with those stupid warnings!
2016-03-07 22:16:38 +00:00
christos
e46a288cba
str2Lst_Append tokenizes the string and uses it in the list so we can't
...
free the string afterwards. Keep a copy of it and cleanup at the end.
2016-03-07 21:45:43 +00:00
sjg
ab15168ea5
For :ts numeric escapes \x* is hex, anything else is octal.
2016-03-07 20:20:35 +00:00
martin
cb0ca8dd7b
Try to fix build on 32bit architectures.
2016-03-07 08:59:00 +00:00
plunky
e01e653371
use correct offset for channel in SDP record
2016-03-06 21:12:07 +00:00
christos
e33113ab6d
Work around gcc on sparc64 bug
2016-03-06 18:01:28 +00:00
christos
fd89278a5f
PR/50897: David Binderman: fix memory leaks. While here, modernize error
...
handling, and types.
2016-03-06 16:13:21 +00:00
martin
bf186f94c5
David Binderman in PR bin/50897: fix memory leak.
2016-03-06 15:44:06 +00:00
mrg
35f210138a
if opening the audio device fails, try opening again with write-only.
...
this allows my playback-only usb device to be listed and tested.
2016-03-05 22:10:39 +00:00
dholland
6d1844cb1e
Don't try to use stdin after clobbering it with a failed freopen().
...
Prevents an extra "Bad file descriptor" message when trying to hexdump
a single nonexistent file.
The intended behavior seems to have been to read from stdin if there
was one filename given and it wasn't valid. But this seems like a bad
idea, so prevent that case instead of hacking it up so it works.
2016-03-04 03:02:52 +00:00
dholland
7228911ac6
Don't use one function for two different things. Two functions is the
...
ticket.
2016-03-04 02:54:38 +00:00
dholland
63eec2f2f9
use "static"
2016-03-04 02:46:19 +00:00
christos
bad095e351
PR/50872: David Binderman: Use logical and instead of arithmetic
2016-02-29 18:21:15 +00:00
christos
bfc1db599b
PR/50873: David Binderman: use logical or instead of arithmetic
2016-02-29 18:19:46 +00:00
christos
08b8c76dab
Add visibility and weak
2016-02-27 21:37:14 +00:00
christos
64f5cd70a3
CID 1354295: Array overrun.
2016-02-27 16:31:31 +00:00
christos
f3a4188b98
CID 1025009: Fix wrong code (NULL deref)
2016-02-27 16:20:06 +00:00
christos
e20f46c663
CID 1025008: Free memory returned by Var_Subst
2016-02-27 16:18:47 +00:00
christos
b6546efdb8
CID 1025007: Don't leak missingFiles
2016-02-27 16:17:26 +00:00
christos
0d70c98596
CID 1025006: pbm can't be NULL at this point.
2016-02-27 16:14:23 +00:00
sjg
f7ebaac72f
Let makefiles decide if depend file gets a meta file
2016-02-27 00:13:21 +00:00
wiz
2aa636aa06
Remove trailing whitespace.
2016-02-25 14:55:56 +00:00
ginsbach
522de9efc9
Fix obvious contraction spelling mistakes by adding missing apostrophes.
2016-02-25 13:23:27 +00:00
ginsbach
7a1819b192
Remove double space before [.,:] in macro arguments.
2016-02-24 17:38:15 +00:00