Commit Graph

12287 Commits

Author SHA1 Message Date
pettai 54844dd551 Added zless(1) - comes in the lastest version of zmore(1) from OpenBSD
(OKed by tron@)
2013-11-12 21:58:37 +00:00
pooka b82822977b Handle static rump kernel base correctly. 2013-11-11 15:53:56 +00:00
christos fe3f867991 remove unused variables 2013-11-10 17:14:25 +00:00
mrg 5517e5441c add a row with totals for some pool statistics. 2013-11-10 05:16:10 +00:00
christos 232e5144bb reorganize to make clear variable use. 2013-11-09 15:57:15 +00:00
dholland 0256a35b09 apostrophe's do not make plural's. 2013-11-07 18:50:46 +00:00
christos 71c18b90bc more volatile for m68k 2013-11-07 02:06:51 +00:00
christos b4ab7d1288 let progressmeter deal with the timeout once we've started transferring. 2013-11-03 14:45:50 +00:00
christos 422740a7f1 PR/34796: Hauke Fath: ftp does not timeout on http fetches. 2013-11-02 19:55:47 +00:00
christos 6fce9f6ad7 go back to using file:line: from uwe. 2013-11-01 21:39:13 +00:00
christos 8ae3ff1668 make config errors look more like other programs: <file>,<line>:
instead of <file>:<line>:
2013-11-01 17:09:59 +00:00
apb 786efef96b Document that patterns are specified using extended regular expressions. 2013-11-01 07:49:00 +00:00
christos 4a734be04d PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.
XXX: still flock -s 0 fails with EINVAL, why?
2013-10-29 16:02:15 +00:00
njoly 9d2c3170bc Small typo. From Michael W. Bombardieri. 2013-10-29 12:27:23 +00:00
christos 094fa0251a Instead of guessing the suffix in the code, use the suffix list previously
loaded via man.conf(5). While there, zap unused iteration code.
(Franco Fichtner)
2013-10-28 23:46:17 +00:00
mbalmer 0382fd8b79 No more walk on the wild side. RIP Lou Reed. 2013-10-27 18:30:49 +00:00
wiz 6f46d26376 Remove trailing whitespace. 2013-10-27 11:38:13 +00:00
apb e7b5d5dc5f Explain that ${VAR:M*} will normalise the inter-word spacing. 2013-10-25 22:05:00 +00:00
apb e1debe8414 The :C/// modifier takes an extendedregular expression. 2013-10-25 20:57:02 +00:00
christos a64eb75968 get rid of equal(), use {s,g}etprogname(). 2013-10-21 14:47:46 +00:00
christos 04908d82dd use correct function and symbolic constants 2013-10-19 15:56:05 +00:00
christos 35be7e66a7 use new scopeid functions 2013-10-19 00:28:38 +00:00
bad 8fd869ab61 Make :drives, :display, :ignore accept fnmatch(3) patterns to specify drives.
Bump man page date.
2013-10-18 22:42:31 +00:00
bad 87c60cd65e Make the -f option accept multiple address families.
Bump man page date.
2013-10-18 22:18:14 +00:00
christos 6e28978d84 fix unused variable warnings 2013-10-18 20:47:06 +00:00
christos 8dda6b583e fix sequence point violations 2013-10-18 20:46:09 +00:00
christos bdeefc61e5 more clobbering fixes. 2013-10-18 20:43:45 +00:00
christos c3e578cfbe fix clobbered variable 2013-10-18 20:41:58 +00:00
christos b52ab07dd4 remove unused 2013-10-18 20:41:49 +00:00
christos 15a5bba97c - avoid pointer gymnastics
- remove unused variables
2013-10-18 20:26:45 +00:00
christos 9f630f8bc1 avoid redefinitions 2013-10-18 20:19:36 +00:00
christos 30eeb0614b don't read random garbage from the stack 2013-10-18 20:19:03 +00:00
christos 3c6b5224e0 avoid pointer gymnastics 2013-10-18 20:18:42 +00:00
christos f49cbbddb9 avoid longjmp clobber. 2013-10-18 20:17:59 +00:00
bad 87f2ce05f1 No David, '\?' is not the del character. Broken in rev 1.21.
XXX pullup-5, pullup-6.
2013-10-14 22:23:22 +00:00
jnemeth 694b13b9ba delete duplicate (and wrong) entry for Thanksgiving Day in Canada 2013-10-13 16:43:49 +00:00
christos 73da111b07 fix the rest of the lint warnings [pass 1] 2013-10-07 15:17:24 +00:00
dholland 04fb430032 Save errno around fwrite(), which can otherwise trash it; PR 47813.
This appears to fully resolve the problem described in the PR, even
though one might think it wouldn't.
2013-10-07 02:00:46 +00:00
dholland 603ad97a41 Merge some of the cleanup from PR 21894. Do a bit more of my own.
lint still squawks quite a bit, and it woudl probably be worthwhile
for someone to go through and make all the signedness consistent, but
I think I've got the valuable bits.
2013-10-07 00:16:19 +00:00
christos 8818316ba3 add more compression suffixes and local suffixes. 2013-10-06 17:14:49 +00:00
christos b496a26a9d Recognize .gz and .bz2 suffixes so $ man ./man.1.gz works. From Franco Fichter
via dfly.
2013-10-06 16:43:41 +00:00
christos 7d79a7ccd9 Be more permissive in interpreting man pages as filenames, from Franco
Fichter via dfly. fixes:
	$ man usr.bin/man/man.1
2013-10-06 16:29:26 +00:00
roy c019d40dad terminfo uses CDB instead of DB 2013-10-01 09:01:49 +00:00
sjg 5042f283e6 meta_oodate: 'L'ink and 'M'ove entries need extra processing.
The src of a Link should be treated as a file Read
while the target a file Written.
The src of a Move is like a file Deleted
and the target like a file Written.
2013-10-01 05:37:17 +00:00
wiz f5b349c2c4 Sort. Use .Ex for EXIT STATUS section. 2013-09-30 08:13:59 +00:00
riastradh 88bc4b53a7 New utility getaddrinfo(1) to reflect getaddrinfo(3).
Discussed on tech-userlevel back in April:

https://mail-index.netbsd.org/tech-userlevel/2013/04/25/msg007719.html

Not hooked into the build or sets yet.
2013-09-30 06:19:22 +00:00
riz 985d0231c0 NetBSD 6.0.3 and 6.1.2 released. 2013-09-30 03:50:31 +00:00
jnemeth 0acf56cdc6 add NetBSD 5.1.3 and 5.2.1 releases 2013-09-29 07:43:43 +00:00
wiz 2626dec52e Improve description.
From Jérémie Courrèges-Anglas <jca@wxcvbn.org>.
2013-09-24 22:08:06 +00:00
joerg 3657cb7f1d Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
khorben 77b82c32cc flock(1) really appeared first in NetBSD 6.1 2013-09-21 15:01:14 +00:00
wiz bcd8a2345c If file argument is '-', read from stdin.
From Jérémie Courrèges-Anglas <jca@wxcvbn.org>.
2013-09-17 20:00:50 +00:00
matt 3c2ba04fe8 If MAKE_NATIVE, use sysctl to get MACHINE_ARCH from hw.machine_arch. 2013-09-14 15:09:34 +00:00
joerg 73c26f5d13 Remove copyright, use __RCSID. 2013-09-13 20:51:20 +00:00
wiz 2aa10166ef Update standards conformance. From jmc@openbsd. 2013-09-12 07:26:13 +00:00
pooka d5e9a0d652 Not all systems sport err.h, so redo those bits using the die() routine
we need to have hanging around anyway for proper error reporting from
a daemonizing server.  le sigh
2013-09-10 20:36:08 +00:00
pooka 7066c11a5f <sys/cdefs.h> comes from rumpuser_port.h 2013-09-10 19:42:32 +00:00
pooka 22882349e0 Need bsd.own.mk for mk.conf, include it at an opportune place. 2013-09-10 18:28:46 +00:00
pooka ff8534b0b9 Make it possible to omit libutil from the link. It's used only for
disklabel stuff, and is only harmful on platforms that don't currently
provide user namespace disklabel interfaces.
2013-09-10 18:22:55 +00:00
pooka 4e5f4292e3 Make this work on platforms without disklabels, modules, etc. 2013-09-10 17:59:52 +00:00
pooka 56651ceb36 Do like the comment suggests and don't sanity-check the -c parameter here,
since we can't do it properly.
2013-09-10 17:13:29 +00:00
christos f812b4b441 Expand ep->host to contain the final string that we are going to print
before computing the width of the host column.
2013-09-09 19:20:38 +00:00
wiz be79f6c038 Improvements from jmc@openbsd. 2013-09-09 09:02:25 +00:00
prlw1 2f73dfb288 Fix
/var/log/httpd/access.log  644  52   *  $W0D23 ZBP /var/run/httpd.pid 30
newsyslog: config line 16: bad signal type
(strtol: **endptr is '\0' on success rather than *endptr)
2013-09-05 11:34:40 +00:00
sjg cde1c40e1b Add VAR_INTERNAL as a context for variables set by make itself,
which should not override those set by makefiles.
Currently MAKEFILE is the only variable affected.

Reviewed by: christos
2013-09-04 15:38:26 +00:00
sjg be3c37de45 Do not apply shellErrFlag unless errCheck is true. 2013-09-02 19:26:42 +00:00
jnemeth 571c39977c use spaces, not tabs 2013-09-01 10:17:58 +00:00
jnemeth 50fa456661 add NetBSD 6.1.1 release 2013-09-01 10:16:19 +00:00
mrg 0c2e06460b move most of the header writing code from record.c into wav.c and sun.c.
introduce a struct write_info for communication between front ends and
backends.

libaudio API is still pretty ugly, and needs to stay local here for now,
but it is a little more usable for other tools now.
2013-08-30 20:57:26 +00:00
sjg ec98624792 Fix parsing of SUNSHCMD style :sh = assigments.
Submitted by: Will Andrews at freebsd.org
2013-08-28 21:56:49 +00:00
dholland 98ce70f09e passes WARNS=5, don't set it to 4. 2013-08-21 21:05:29 +00:00
joerg d9a44d716d Use more static and __dead. 2013-08-15 20:48:56 +00:00
christos 17168f5ab4 CID 1062241: simplify free for coverity 2013-08-12 20:36:30 +00:00
joerg 2c7fa37363 Add more __dead. 2013-08-12 14:03:18 +00:00
pooka 26b4d3d169 ioconf/pseudo-root have been in here unchanged for 3+ years and their use
has spread from rump kernels into dozens of kernel modules.  Let's pretend
we don't want to see config yell about them being experimental every time.
2013-08-11 10:37:08 +00:00
apb 480a3064b0 Use Va markup to show that the "suffix" part of ".PATH.suffix"
is a placeholder, not a literal string.
Also bump date.
2013-08-11 09:53:49 +00:00
dholland e9067f113d WARNS=5 2013-08-11 08:03:10 +00:00
dholland 99934b2d0c Passes WARNS=5, so don't set WARNS=4. 2013-08-11 06:48:46 +00:00
dholland 65910359bc Passes WARNS=5, so don't set WARNS=3. 2013-08-11 06:47:38 +00:00
dholland 06eef6894d add more static 2013-08-11 06:45:23 +00:00
dholland 043c758bea add more const 2013-08-11 06:43:10 +00:00
dholland beced5ea78 WARNS=5 2013-08-11 06:39:47 +00:00
dholland 7899f1dc15 Remove redundant WARNS=5. 2013-08-11 06:32:13 +00:00
dholland 1a91378aae Pass WARNS=5. 2013-08-11 06:31:00 +00:00
dholland 524e377411 Passes WARNS=5; don't set WARNS=4. 2013-08-11 06:09:29 +00:00
dholland f02a6c3b94 Document .PATH.suffix:. Noted by apb back in December of 2008
(that's how long my queue is...)
2013-08-11 04:40:58 +00:00
dholland 7c248df2ae Whitespace. 2013-08-11 01:54:35 +00:00
dholland 8d0b47d1c9 Fix another bug, relating to parsing the [=x=] syntax. 2013-08-11 01:49:40 +00:00
dholland aba78f7512 Tidy up more. This is pretty ratty code. 2013-08-11 01:42:35 +00:00
dholland 5e8eff378e Tidy up. 2013-08-11 01:29:28 +00:00
dholland 9f2ae0ea3d Pass -Wpointer-sign. 2013-08-11 01:00:13 +00:00
dholland d506ddf6f7 avoid undefined behavior. 2013-08-11 00:52:17 +00:00
dholland 8a7a973b90 Don't explicitly zero bss variables that are already zeroed. 2013-08-11 00:49:15 +00:00
dholland c47da08424 Add comments explaining how this works. 2013-08-11 00:48:37 +00:00
dholland 8b42fe334c Simplify the parser handling. 2013-08-11 00:39:22 +00:00
dholland e141bc4323 Remove silly written-out initialization of string1. 2013-08-11 00:34:09 +00:00
dholland 848d757378 Make tr -c work. Fixes PR 48113.
When -c is in effect, scan string1 first, complement it, and then
iterate over the results while scanning string2. Otherwise, scan
string1 and string2 together as before.
2013-08-11 00:28:46 +00:00
dholland 567ab40d47 apply some CSE 2013-08-11 00:12:47 +00:00
dholland 9dd74a9973 Restore preexisting wrong behavior of tr -c (translates all characters
to the last letter in string2) instead of a different wrong behavior
(translates all characters to 0xff) accidentally just introduced.
2013-08-11 00:11:46 +00:00
dholland 48dbbc109e sprinkle const 2013-08-11 00:05:49 +00:00