matt
755e896fd8
Make mips64e[bl] check more generic.
2013-01-28 14:25:18 +00:00
joerg
438eb8acb3
Use sysctl based code netstat -r. Remove support for post-mortem
...
analysis.
2013-01-28 13:49:08 +00:00
sjg
bd0907ac07
In SHELL COMMANDS section, provide some clues about different
...
behavior in jobs vs non-jobs mode.
Move the comment about when shell is skipped to this discussion
from COMPATABILITY.
Remove the incorrect statement about default mode being somehow
neither jobs mode or compat mode (it is compat mode).
2013-01-27 18:52:01 +00:00
christos
54e31e2d33
Check read and write errors to avoid warnings from linux.
...
XXX: Should we print an error and exit instead?
2013-01-26 15:52:59 +00:00
roy
2429e4f2af
If char * > long then print a suitable error when passing a string parameter.
2013-01-25 12:27:13 +00:00
roy
f2a0b2e345
Remove debug accidently commited.
2013-01-25 12:12:30 +00:00
sjg
7a08ea2711
Remove Check_Cwd - it is no longer needed.
2013-01-25 02:01:10 +00:00
christos
792c142038
use O_CLOEXEC, wrap long line.
2013-01-24 17:50:08 +00:00
christos
4cde7eb37e
use O_CLOEXEC.
2013-01-24 17:47:58 +00:00
christos
4cbd234f82
fix type or rval.
2013-01-24 17:46:30 +00:00
christos
185af7b6b5
use O_CLOEXEC
2013-01-24 17:46:00 +00:00
roy
a17592c001
Move the strings vs long analysis to a private function, but allow
...
tput(1) to use it so we can work with string parameters to capabilities.
2013-01-24 10:41:28 +00:00
riastradh
24eac4746d
Assert equality, not assignment, in fsplit, and say who guarantees it.
2013-01-23 20:39:46 +00:00
riastradh
04ce843b93
Move assignment out of assertion in cap_mkdb.
2013-01-23 20:27:01 +00:00
msaitoh
302f86804d
Fix memory leak in file_matching().
2013-01-21 03:24:43 +00:00
simonb
044781f677
We only need to be told once about Lee-Jackson Day in Virginia today.
...
Remove a duplicate for Memorial Day in Michigan while we're here.
2013-01-20 23:52:43 +00:00
apb
dd481ceb43
As from today, numeric fields may begin with an optional
...
plus or minus sign, not only an optional minus sign.
2013-01-20 21:02:11 +00:00
apb
85744c86ad
When parsing numbers, allow a leading '+'.
2013-01-20 10:12:58 +00:00
sjg
2a4896f81a
meta_oodate: rename ignoreOODATE to needOODATE.
...
if target uses ${.OODATE} in its script;
1. we canno compare commands
2. if we decide it is out-of-date .OODATE must not be empty.
The only option is to set it to .ALLSRC
2013-01-19 04:23:37 +00:00
christos
b856a9b7db
- Don't dump core or print random junk on corrupt utmp entries.
...
- Factor out duplicated code in the process.
- The actual code is now smaller and does error checking, and encoding.
2013-01-18 22:10:31 +00:00
christos
39fb5ccbf5
From: Steffen "Daode" Nurpmeso:
...
Amend the previous commit to support zone-style RFC 822 dates.
RFC 5322 marks this zone-style as obsolete (obs-zone), but still supports it.
But then, even if you don't wanna support military style single-letter zones,
the UT zone exists and will not be supported by this commit.
The changes here are not strictly correct (since not all possible
single-letter zones are assigned, and only *UT* has two letters),
but which will match all thre possible *obs-zone* forms.
Compiled and tested on a single MBOX.
2013-01-16 15:21:42 +00:00
christos
8fe0b6ad43
PR/47453: Martin Branderburg: Mail (mail, mailx) does not recognize messages
...
which have RFC 822 format dates.
XXX: Pullup 6
2013-01-15 17:25:42 +00:00
wiz
4bdac686eb
Sort options in man page SYNOPSIS and sync usage with it.
...
Bump date.
2013-01-06 00:19:13 +00:00
christos
fed1477544
PR/47396: Steffen: mail(1) may falsely use quoted-printable for files with
...
embedded NULs
2013-01-04 01:54:55 +00:00
christos
ec0bd15985
PR/47395: Steffen: mail(1) unnecessarily uses base64 if a CR without a LF is seen
2013-01-04 01:43:59 +00:00
dsl
44483cabc1
Unset HAVE_DEVNAME for tools build.
...
config only checks for the symbol in libc, we need the correct prototype.
Which is excluded even on NetBSD (_NETBSD_SOURCE isn't defined in stdlib.h).
2013-01-03 13:28:41 +00:00
dsl
cb5a1df091
Only expose the bulk of sys/proc.h and sys/lwp.h if _KERNEL or _KMEMUSER
...
is defined.
i386 and amd64 build ok.
2013-01-02 19:39:04 +00:00
apb
e5b434bcf4
Really expand the name, not the definition, as the comment says.
2013-01-02 14:05:04 +00:00
dsl
b374a5685e
Explicitly include sys/resource.h
2013-01-02 10:36:07 +00:00
apb
25dbb40a11
fix incomplete comment
2013-01-01 12:45:06 +00:00
apb
c6933fca67
Add -l and -L options to units(1). "-l" simply lists all unit
...
definitions, while "-L" alsoreduces them to depend only on a few
primitive units (such as m, kg, sec).
2013-01-01 11:51:55 +00:00
apb
55f985ffa7
Correctly ignore duplicate definitions. "continue" applies only to the
...
innermost loop.
2013-01-01 11:44:00 +00:00
christos
0be3040a8f
- use warn/err
...
- if both users are on the same machine, use the loopback address. This
allows us to use talkd from inetd listening only to the loopback.
2012-12-29 23:44:22 +00:00
jmcneill
733016fbe5
add missing prototype for crc32v
2012-12-29 16:18:08 +00:00
jmcneill
6412da29f7
add support for generating boot.scr scripts with -T script
2012-12-29 15:11:56 +00:00
apb
1d8e06e4e4
Rename "tappit-hen" to "tappithen" because unit names cannot contain
...
hyphens. Also change the definition from "3 imperial" (a dimensionless
quantity) to "3 bottle" (2.25 litres). Wikipedia and several other web
sites say 3 bottles or 2.25 litres, but
<http://www.christies.com/lotfinder/wine/chateau-lafite-rothschild-vintage-1811-1-tappit-hen-per-4992576-details.aspx >
says:
There seems to be no firm definition of the bottle size referred to
as "tappit-hen". Believed to be of Scottish origin, a tappit-hen
can vary, according to which definition one follows, from 1 1/2
bottles to a tregnum or 3-bottle bottle. It is safest to say that it
approximates to a magnum.
and ends with:
1 Tappit-Hen (2.25 liters) per lot
2012-12-28 17:57:46 +00:00
apb
fd02783e45
Allow a number and a unit to be juxtaposed without an intervening space.
...
Now "litres/100km" works as desired, instead of silently being
treated as "litres/100".
2012-12-28 17:07:03 +00:00
apb
dd9b8fe876
Fix references to undefined units:
...
* "southamericarand" should be "southafricarand";
* "sidereal day" should be "siderealday";
* "perusol" should be "perunewsol".
2012-12-28 13:45:53 +00:00
apb
5cd73ddec1
Improve the description of the [count] from-unit to-unit arguments.
2012-12-28 13:25:25 +00:00
christos
ccdf6b9113
backwards compatible with netbsd-6.
2012-12-24 22:12:28 +00:00
christos
e7e7a9f768
compile without SSL
2012-12-22 16:58:51 +00:00
christos
057b4f79a5
document https support, mentioning certificates are not validated, and obey
...
https_proxy.
2012-12-22 16:57:09 +00:00
christos
f9336fd862
PR/47276: Add https support
2012-12-21 18:07:36 +00:00
uwe
dafbf6787b
RFC 1866 does not define any "URI encoding". It defines HTML 2.0 that
...
includes SGML numerical character references (&#nnn;) and entity
references (&foo;) for Added Latin 1 and a subset of Numeric and
Special Graphic.
2012-12-15 02:08:13 +00:00
msaitoh
fd52732c92
Fix memory leak.
2012-12-14 08:15:44 +00:00
pgoyette
0af2848f9e
Adjust case of example to match usage (and code)
2012-12-13 21:09:34 +00:00
wiz
8fd1bb626e
- Sort option list;
...
- create separate section, use `.Ex' macro for, and put in the
correct location exit status information;
- bump date.
From Bug Hunting.
2012-12-12 13:30:06 +00:00
wiz
54082f205d
- Remove incorrect use of `.Em' (this is a presentation term and
...
should not be used for stylistically decorating technical terms);
- remove superfluous `.Pp' macro (fixes mandoc(1) warning).
From Bug Hunting.
2012-12-12 13:28:06 +00:00
joerg
d6b0aba16b
Revert, there is a more fundamental issue with util.h.
2012-12-08 23:29:28 +00:00
joerg
52dd0a9cad
Use util.h only in the native case.
2012-12-08 21:04:27 +00:00