shin
aebe3f8e9d
Support v6 login.
2000-01-15 03:26:54 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
brian
040921481a
If given host.domain:nn[.nn], trimdomain() now reduces it to
...
host:nn[.nn] (if the domain is the same as the local one).
1999-04-09 01:54:10 +00:00
brian
603fdffe33
bcopy -> memmove
...
Suggested by: archie
1999-04-08 08:00:06 +00:00
brian
37c783b789
Tidy up trimdomain() and document it.
...
Don't truncate one byte short of the passed length.
1999-04-07 14:03:31 +00:00
brian
32ff8071a1
Handle hostnames up to MAXHOSTNAMELEN-1 in length.
...
Use bcopy() instead of strcpy() to handle potentially
overlapping regions.
Un-obscure/complicate some code.
1999-04-07 08:27:04 +00:00
jkh
aac7427316
Now take stdio.h out of files that don't require it.
1998-10-09 11:24:20 +00:00
jkh
afb7d7e829
All these have to include stdio.h now.
1998-10-09 00:39:09 +00:00
amurai
daec942153
Trim a domain part for wtmp as same as showed by "netstat -r".
...
Here is a some example for avoiding a confusion.
It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.
1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama
2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2
3) specgw.spec.co.jp : 202.32.13.1 -> specgw
Submitted by: Atsushi Murai <amurai@spec.co.jp>
1998-06-01 08:47:04 +00:00
pst
930fa4a438
The parameters to logwtmp should be const char's
1997-09-04 22:38:59 +00:00
steve
4102fc6259
Protect the copyright comments from reformatting by
...
indent and make this compile -Wall clean like the
Makefile suggests that it should. :)
Pointed out by: Bruce Evans <bde@zeta.org.au>
1997-08-13 20:42:18 +00:00
ache
aba2bff439
If hostname > UT_HOSTSIZE, use its numeric address instead to keep
...
valid entries into utmp and wtmp
1996-06-17 14:49:02 +00:00
peter
42bbbd2861
Bump libutil revision after recent addition of setproctitle().
...
Install (optional) libutil.h with prototypes for the functions and
document this in the man page.
minor cleanups to the various routines, include the prototype file, declare
return codes etc.
1996-01-01 08:27:41 +00:00
rgrimes
be22b15ae2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00