Commit Graph

5661 Commits

Author SHA1 Message Date
itojun
41b5d4f9af use strtoul, not atoi.
don't print strerrno() if errno == 0 on fatal().
sync w/kame
2002-10-26 20:10:02 +00:00
hubertf
4d58bf2551 Properly re-implement hilighting of the dialogue with the ftp(1)
process.

Thanks again for the throughout notification I got before that
was removed! :(
2002-10-26 14:43:43 +00:00
hubertf
4d4c17a923 use size of the right buffer 2002-10-26 12:37:00 +00:00
thorpej
2b3b2f08d6 Rather than relying on pure luck to get the log file on STDERR_FILENO,
explictly dup2 the log file dscriptor to STDERR_FILENO and close the
original.
2002-10-26 01:47:52 +00:00
thorpej
d2ed7ebdd1 * Use STDOUT_FILENO instead of 1.
* Pass the file descriptor to request_init() (libwrap) so that
  it can actually do something useful later in fromhost().
2002-10-26 01:46:31 +00:00
wiz
3ced2f4983 Mention moused(8). From Julio Merino in PR 18801. 2002-10-25 21:02:45 +00:00
wiz
433a9df61c Mention wsmoused(8). From Julio Merino in PR 18801. 2002-10-25 21:02:25 +00:00
wiz
e4a36f578d Whitespace nit. Use .Nm instead of crossreferencing ourselves. 2002-10-24 16:22:49 +00:00
jonb
996cd2788d Add a better hint about proper kernel configs than just "See Also sysctl(8)" 2002-10-24 16:06:05 +00:00
itojun
22a4160612 be more picky about argument parsing (check ERANGE from strtoul). sync w/kame 2002-10-24 12:54:14 +00:00
itojun
f062d0205a make args u_long not to lose accuracy due to conversion/overflow.
from mark@openbsd
2002-10-23 03:48:07 +00:00
itojun
1d2f66eb21 add DPADD 2002-10-23 01:11:09 +00:00
itojun
86c2fb8d52 style 2002-10-23 01:09:50 +00:00
itojun
0a52cefa4d add DPADD 2002-10-23 01:09:37 +00:00
itojun
bfd7fc27b3 add DPADD 2002-10-23 01:08:01 +00:00
grant
70e6e04099 Fix date typo, Oct 27 -> 17.
While it would be nice to be able to add features ahead of time,
it is not possible yet :)
2002-10-21 13:55:11 +00:00
lukem
307f4019a4 tweak usage now that multiple interfaces are supported... 2002-10-21 01:33:02 +00:00
provos
32b88027c7 use readlink with bufsize - 1; approved thorpej. 2002-10-19 20:33:17 +00:00
itojun
c025861aba correct LBL_ALIGN behavior, sync with tcpdump.org.
enable LBL_ALIGN codepath to use byte-by-byte fetch in extract.h.
should correct PR 18688/18398.
2002-10-18 23:13:57 +00:00
thorpej
2c07094b2a Allow more than one interface to be specified on the command line. 2002-10-17 19:13:50 +00:00
soren
dc8c2ef8d0 Postfix does not support the 'send-mail' arg. 2002-10-17 16:47:47 +00:00
wiz
26acd804be Fix typo in last (hi christos). 2002-10-17 08:46:00 +00:00
christos
d5d6fac25a Jeez! Delete hard-coded vt100 sequences. This could be done using termcap,
but why bother?
2002-10-17 03:34:20 +00:00
christos
590fa669c8 - eliminate the hard-coding of pathnames in the default install.
- all command executions now use the path [execvp/execlp/system].
- normalize the macro names as <COMMAND>_CMD.
- in some OS's full pathnames for commands can still be provided, but this
  is not the default.

This was needed to fix -DTAR_FULLPATHNAME="/usr/bin/tar"
2002-10-17 03:31:33 +00:00
takemura
976f1e210f Enabled apm command device node for hpcmips and put apm.8 and zzz.8 man pages
into mi directory.
2002-10-14 06:31:37 +00:00
soda
bcb7e65b95 revision 1.5 missed to add option -N and -M to 3rd argument of getopt(3). 2002-10-12 08:57:16 +00:00
thorpej
93854e538b Allow devices to be orphaned, but emit an informational message when
this occurs.
2002-10-11 02:02:24 +00:00
thorpej
a27b30b1f8 Oops, fix editor mistake. 2002-10-11 01:54:50 +00:00
thorpej
bd86bbe5e9 Add support for specifying attributes as option-dependencies,
allowing for the following:

file foo.c	foobar | bar

defflag BAR

device foobar

...to be expressed in the following (more natural) way:

define foo
file foo.c	foo

defflag BAR: foo

device foobar: foo
2002-10-11 01:48:25 +00:00
thorpej
1f5fa983ab Add support for specifiying attribute dependencies on attributes. This
allows for the following:

define foo
define bar { }: foo

device foobar: bar

An instance of "foobar" will select "bar", which will in turn select
"foo" due to "bar"'s dependency on "foo".

Circular dependencies are not allowed, and a dependency may also not
be an interface attribute.
2002-10-09 20:17:00 +00:00
thorpej
9b10cf346e Use DVUNIT_ANY. 2002-10-09 03:10:19 +00:00
lukem
6e980262a4 Remove convoluted code to work around missing lch{flags,mod,own}();
instead, rely upon libnbcompat to provide a workaround (which returns
an error if the target is a symlink).
Should fix another MacOS X build issue due to missing lchown(2).
2002-10-08 00:34:08 +00:00
heinz
c624907cf7 fix small typo 2002-10-06 17:13:24 +00:00
lukem
64beaeafc8 - Check HAVE_LCHFLAGS for lchflags(2) support, rather than assuming
that HAVE_STRUCT_STAT_ST_FLAGS implies this.
- Set HAVE_LCHFLAGS for native builds
- Clean up {CLEAR,SET,CHANGE}FLAGS macros, and only provide if
  HAVE_STRUCT_STAT_ST_FLAGS is set.

(Fixes compilation as a tool on MacOS X, noted by Allen Briggs.)
2002-10-06 01:36:09 +00:00
thorpej
d90d300b7b Overhaul the way cfattach structures are looked up. The cfdata entry
now carries the name of the attachment (e.g. "tlp_pci" or "audio"),
and cfattach structures are registered at boot time on a per-driver
basis.  The cfdriver and cfattach pointers are cached in the device
structure when attached.
2002-10-04 01:50:53 +00:00
lukem
ba51c8dc18 alpha also supports append & sunsum 2002-10-03 07:27:50 +00:00
lukem
454998fc21 correct comment 2002-10-03 05:31:25 +00:00
wiz
40a72a2371 Undo last, on request by agc. 2002-10-02 17:30:08 +00:00
thorpej
ab0f429042 Add a trailing ; to CFDRIVER_DECL. 2002-10-02 16:49:03 +00:00
wiz
4fcce79872 utilize American spelling. 2002-10-02 15:45:32 +00:00
wiz
9287b22a99 Fix typo. Spotted by Adrian Mrva. 2002-10-02 15:41:53 +00:00
wiz
8ea866f1ab between with three es, and positive with two is. 2002-10-02 15:30:11 +00:00
grant
7d8ff25974 new sentence, new line. 2002-10-02 13:49:11 +00:00
itojun
dd84b30b3c license clarification, from openbsd 2002-10-02 06:47:48 +00:00
itojun
901d58cdce poll.h, not sys/poll.h 2002-10-01 05:56:12 +00:00
itojun
c3cbda0efb move mbone tools out of basesrc, as they use part of mrouted 2002-10-01 03:50:07 +00:00
itojun
4adeccac17 fix .PATH to mrouted 2002-10-01 03:40:31 +00:00
itojun
9bbfbbb676 move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
2002-10-01 03:30:50 +00:00
itojun
7cf12fa457 valid_password_length() is a boolean function, so there's no point in
having "> 0" in if clause.
2002-10-01 02:50:51 +00:00
thorpej
f4a263573b Use CFDRIVER_DECL(). 2002-09-30 18:54:36 +00:00