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
dholland
7f7f549599
Make the parser state opaque. While here, fix a memory leak when using
...
the [:foo:] syntax.
2013-08-11 00:04:14 +00:00
dholland
d05d2aa5a7
Expose less of the parser state outside str.c.
2013-08-10 23:54:41 +00:00
sjg
7f708505a0
ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.
...
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.
2013-08-10 21:20:03 +00:00
dholland
3c77b25ade
punctuation usage
2013-08-10 20:59:27 +00:00
sjg
ac8c620987
Move the call to Job_SetPrefix() to Job_Init() so that
...
makefiles have had a chance to set .MAKE.JOB.PREFIX
2013-08-04 16:48:15 +00:00
sjg
bd8f3e806f
Allow an empty .MAKE.JOB.PREFIX to supress output of --- job --- tokens
2013-07-30 19:09:57 +00:00
joerg
349a581e92
Mark the dead.
2013-07-30 15:10:04 +00:00
pgoyette
d96eb15780
fferentiate zegrep and zfgrep by their basename only, so they can be
...
invoked with a pathname (ie, /usr/bin/z{e,f}grep).
OK wiz@
2013-07-25 12:25:23 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
uwe
2a44517182
Constify some more.
2013-07-19 05:05:59 +00:00
uwe
4e29a793cc
Spell "keywords" without space. Fix couple of typos.
2013-07-19 04:59:46 +00:00
uwe
6a118683e9
manual_find_buildkeyword() - now that we control the format string, we
...
may use asterisk precision specification instead of temporary
modifying the _build string itself.
2013-07-19 04:55:05 +00:00
uwe
6fed3e8105
Fix manual_find_buildkeyword() to not use non-literal printf format.
2013-07-19 04:18:10 +00:00
uwe
fd25be260e
Use -Wno-format-nonliteral instead of blanket -Wno-format.
2013-07-19 04:17:02 +00:00
matt
c9855651f8
Add stub port for evbcf which has enough to do a distribution build.
2013-07-18 22:08:59 +00:00
matt
105794b79c
Use ${MACHINE_CPU} == "m68k"
2013-07-18 21:11:47 +00:00
matt
611b1a73a0
Make sure fdformat is on m68k (even sun2)
2013-07-18 21:03:07 +00:00