wiz
085295fd9c
Quote some characters.
2003-06-27 23:21:50 +00:00
wiz
f9502382bc
No longer i386-only.
2003-06-27 22:58:30 +00:00
wiz
7fa3ef5ac1
Quote question mark.
2003-06-27 22:56:37 +00:00
wiz
c1be448d85
Quote exclamation mark.
2003-06-27 22:53:52 +00:00
wiz
ff81956eb8
New sentence, new line.
2003-06-27 19:09:02 +00:00
wiz
625d4420e8
Sm off -> Sm on (Sm off...Sm off is not too smart).
2003-06-27 18:58:47 +00:00
heas
566bb2555a
Deref the nv_list pointer and take it's address; cleaner and more clear.
...
as suggested by enami.
2003-06-27 18:42:11 +00:00
itojun
da2e0c851d
err() cleanup, from openbsd-current via kame
2003-06-27 07:49:40 +00:00
wiz
9d3470de48
Remove superfluous .Ek.
2003-06-26 10:10:11 +00:00
wiz
16562717af
Quote % characters in macro lines.
2003-06-26 10:09:05 +00:00
itojun
e195d590d8
make it possible to obtain default router address from any interface (-i).
...
-r might be sufficient.
http://pc.2ch.net/test/read.cgi/unix/1050823044/377
2003-06-26 05:38:45 +00:00
hubertf
33ec91dbc6
deleting as non-root works fine, so don't insist on running as root
2003-06-25 23:12:42 +00:00
heas
3ff52bc3f5
Correct comment string "mkoptions" -> "makeoptions"
2003-06-25 07:02:04 +00:00
heas
626ce79cef
When removing a nvlist entry (describing an option, makeoption, etc) in
...
undo_config, if that entry is the tail of the LL, also update the appropriate
tail point (nextopt, etc).
2003-06-25 06:42:40 +00:00
itojun
daf8a4ad8e
"addrs" is not needed any more
2003-06-25 03:45:02 +00:00
martin
86af37d360
Make child processes log failure to exec scripts.
2003-06-24 09:41:34 +00:00
martin
c7eb05dd91
Clarify description of -v, following a hint from felix zaslavski.
2003-06-24 09:31:17 +00:00
hubertf
e7469f38ad
In "crontab -l", suppress the header lines, just as "crontab -e" does.
...
OK'd by Christos Zoulas and Paul Vixie.
Fixes PR 21705.
2003-06-23 22:36:02 +00:00
martin
3088b1239b
Improve diagnostics a bit, log to syslog.
2003-06-23 21:50:12 +00:00
tacha
7a3ec6c576
Call tgetent only when TERM environment is set.
2003-06-23 16:46:57 +00:00
bouyer
d6242d4312
We can't keep a reference to the value returned by svc_getrpccaller().
...
Instead malloc() some memory and copy the sockaddr returned there.
Fix a bug where after a blocked lock gets granted, the grant message would
be sent to the wrong machine (or possibly to a completely bogus address).
While there, add a NULL check for the return value of another malloc().
2003-06-19 11:13:06 +00:00
agc
7b2c1a6c22
Firstly, let's give credit where credit is due - the idea came from uwe.
...
Add the ability to pkg_info(1) and pkg_delete(1) to take a directory
name for the name of the package, so that shell-completion can help
when finding out information or deleting packages.
2003-06-19 08:54:29 +00:00
itojun
c0ee9a3789
need "a". from jmc@openbsd
2003-06-18 05:06:15 +00:00
atatat
d2f781064e
If the file being stuffed into the config file string for inclusion in
...
the kernel is missing the newline at the end of the file, the string
doesn't get closed properly, resulting in a message from the compiler
about a missing #endif. It's somewhat misleading, so config will now
point it out and compensate for the missing newline.
Addresses PR kern/21920: including kernel config fails in some cases.
2003-06-18 04:19:49 +00:00
itojun
81e3f9cb3f
sync manpage with previous change (addrs# deprecdated)
2003-06-18 02:08:10 +00:00
itojun
8412a300dc
relax addrs#x config parameter. should address PR 21872
2003-06-17 08:08:48 +00:00
tsutsui
af66232520
Fix function declaration mismatch with src/sys/ufs/ffs/ffs_extern.h which
...
causes makefs(8) failure on big endian machines. Pointed out by tsubai.
XXX The real problem is that some sources include {.CURDIR}/ffs/ffs_extern.h
XXX but others include /usr/include/ufs/ffs/ffs_extern.h .
2003-06-15 18:10:56 +00:00
itojun
7087f39f8d
use strlcpy/cat
2003-06-13 07:26:41 +00:00
agc
65feb98718
Some patches from Todd C. Miller:
...
1. Use REG_NEWLINE, rather than matching "\n".
2. Fix a bug where rm_user_from_groups would mangle group entries in
/etc/group when the user to be removed is the only member of the group,
by using substring matches.
2003-06-12 17:00:53 +00:00
agc
706a03ef9c
Make the "-f" switch to pkg_delete(1) into a counter. Require two "-f"
...
switches to delete a package that has been preserved. Document this
change.
2003-06-12 13:50:38 +00:00
agc
bc4c2ec6be
Avoid one more annoying duplicated slash when prefix is "/" in pkg_create(1),
...
and one in the db cache file, which was causing pkg_info -F to produce the
wrong results with a prefix of "/".
2003-06-12 13:29:32 +00:00
drochner
96b62d8a69
no need to #include <sys/dkstat.h>
2003-06-11 17:26:31 +00:00
christos
b4f029d21d
revert to revision 1.41, since 1.42 did not fix the problem and made the
...
code more complicated. Fix the real issue which was setting the dst addr
incorrectly.
2003-06-09 13:35:10 +00:00
itojun
7a5741651c
- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)
...
- routing header declaration with RFC3542
(note: sizeof(ip6_rthdr0) has changed!)
also, sync up with RFC2460 routing header definition (no "strict" source
routing mode any more)
part of advanced API update (RFC2292 -> 3542).
2003-06-06 08:13:43 +00:00
christos
7eec87e751
previous fix had trouble deleting routes; try to delete a more generic
...
default route.
2003-06-05 19:48:49 +00:00
agc
2efa359891
When displaying full pathnames of the package contents (pkg_info -L pkg),
...
don't add a '/' between the prefix and the name if the prefix is "/".
This avoids annoying annoying double slash filenames when the prefix is "/".
2003-06-05 17:58:05 +00:00
agc
582cc64a31
Set the program name via setprogname(3).
2003-06-05 13:15:43 +00:00
dsl
eb9a70f8fb
Another mistake in the ufs2 code - a missing else.
2003-05-30 09:22:50 +00:00
simonb
ae46649fa5
Pass a NULL to getbsize() for any arguments that aren't needed, and
...
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
christos
a23e290bac
Specify the interface where to place the default route, otherwise we sometimes
...
can put it in the wrong place.
2003-05-28 13:43:26 +00:00
yamt
cc3f08f723
define HAVE_XDR_MOUNTRES3 in pre-generated config.h as we have mountres3 now.
...
this makes amd buildable for archs without shlibs support like hpcsh.
(i've tested i386->hpcsh cross-compile)
pointed by Torsten Harenberg on tech-hpcsh
and analyzed by Valeriy E. Ushakov.
2003-05-18 09:44:28 +00:00
lukem
826a14607a
Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
...
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
itojun
ef713a2fe9
use strlcat
2003-05-17 21:00:57 +00:00
itojun
89bf339ad7
use strlcpy/strlcat
2003-05-17 20:58:39 +00:00
itojun
c428db5b2f
use strlcpy
2003-05-17 20:55:44 +00:00
itojun
9e390651ee
remove local copy of strl{cat,cpy}
2003-05-17 20:49:28 +00:00
itojun
85da88227f
use strlcpy/strlcat.
...
[fix off-by-one in displayq.c]
2003-05-17 20:46:42 +00:00
itojun
b37b18f113
remove obsolete comment
2003-05-17 19:19:50 +00:00
itojun
d0f8b66023
strncpy -> strlcpy
2003-05-17 19:18:59 +00:00
itojun
84e2880efb
KNF
2003-05-17 19:14:25 +00:00