Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Oops. Some ut_time stuff slipped through the cracks. These turned out | peter | 2002-11-17 | 1 | -1/+2 |
| | | | | to be non-fatal due to stack alignment roundups. | ||||
* | #include <time.h> for the definition of time functions instead of | bde | 2002-02-25 | 1 | -1/+2 |
| | | | | | | depending on namespace pollution 2 layers deep in <sys/stat.h>. Sorted includes. | ||||
* | Add __FBSDID()s to libutil | dillon | 2001-09-30 | 1 | -3/+3 |
| | |||||
* | Move trimdomain() into it's own source file and tidy things up a bit. | brian | 2001-03-14 | 1 | -57/+1 |
| | | | | | | Fix disorder in the Makefile. Reviewed (mostly) by: bde | ||||
* | Support v6 login. | shin | 2000-01-15 | 1 | -7/+24 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | If given host.domain:nn[.nn], trimdomain() now reduces it to | brian | 1999-04-09 | 1 | -9/+33 |
| | | | | host:nn[.nn] (if the domain is the same as the local one). | ||||
* | bcopy -> memmove | brian | 1999-04-08 | 1 | -2/+2 |
| | | | | Suggested by: archie | ||||
* | Tidy up trimdomain() and document it. | brian | 1999-04-07 | 1 | -11/+8 |
| | | | | Don't truncate one byte short of the passed length. | ||||
* | Handle hostnames up to MAXHOSTNAMELEN-1 in length. | brian | 1999-04-07 | 1 | -10/+9 |
| | | | | | | Use bcopy() instead of strcpy() to handle potentially overlapping regions. Un-obscure/complicate some code. | ||||
* | Now take stdio.h out of files that don't require it. | jkh | 1998-10-09 | 1 | -2/+1 |
| | |||||
* | All these have to include stdio.h now. | jkh | 1998-10-09 | 1 | -1/+2 |
| | |||||
* | Trim a domain part for wtmp as same as showed by "netstat -r". | amurai | 1998-06-01 | 1 | -1/+40 |
| | | | | | | | | | | | | | 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> | ||||
* | The parameters to logwtmp should be const char's | pst | 1997-09-04 | 1 | -2/+4 |
| | |||||
* | Protect the copyright comments from reformatting by | steve | 1997-08-13 | 1 | -1/+6 |
| | | | | | | | indent and make this compile -Wall clean like the Makefile suggests that it should. :) Pointed out by: Bruce Evans <bde@zeta.org.au> | ||||
* | If hostname > UT_HOSTSIZE, use its numeric address instead to keep | ache | 1996-06-17 | 1 | -4/+18 |
| | | | | valid entries into utmp and wtmp | ||||
* | Bump libutil revision after recent addition of setproctitle(). | peter | 1996-01-01 | 1 | -0/+2 |
| | | | | | | | | 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. | ||||
* | BSD 4.4 Lite Lib Sources | rgrimes | 1994-05-27 | 1 | -0/+67 |