Commit Graph

38 Commits

Author SHA1 Message Date
tron 0ffcc8e911 Use "[host]: " as prefix for forwarded messages to distinguish them
from message originated by the forwarding host, fixes PR bin/5860 by
Greg A. Woods.
1998-07-30 23:29:29 +00:00
lukem 786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
kleink f6c179f10e Fix arithmetics lossage on typeless pointers. 1998-05-08 19:03:41 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
mrg 8a1743897f nit: order rcsid/sccsids 1998-02-10 03:50:24 +00:00
mrg bc13fc9251 prefer snprintf() to sprintf() 1997-10-24 01:41:47 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem 47852f1f67 getopt returns -1 not EOF 1997-10-17 13:49:37 +00:00
lukem d2d85e1519 minor .Nm cleanup 1997-10-17 13:46:09 +00:00
leo a539aec784 Commit userland part of pr-1891. 1997-09-19 19:17:17 +00:00
enami 241ba6ead1 If f->f_type is F_FORW, don't close f->file. 1997-09-15 03:25:42 +00:00
enami 747812c50c Store constant `F_UNUSED' into the right place f->f_type
rather than f->f_file.
1997-09-13 07:53:10 +00:00
thorpej 1f01636e14 Cast time_t's to long, and use %ld format, when printing. 1997-07-18 22:48:31 +00:00
christos a838817b21 Add WARNS=1 1997-07-01 20:49:59 +00:00
christos 3c795cb2e0 - Fix warnings
- Use ttymsg from libutil.
1997-06-29 18:57:44 +00:00
pk 80bb266e0e NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:31:15 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mrg 151d9c8a60 add 0 and 0x prefixes for octal and hex numbers, in debug messages (based on pr#2964). 1997-04-26 05:12:32 +00:00
mrg dca7ab624c do not write pid file in debug mode. (pr#2825) 1997-04-26 05:08:29 +00:00
mouse 9dd8997bcf alternate -> alternative, per PR 2643 1997-03-08 14:34:56 +00:00
christos 8627914b3f Fix PR/2371, a spelling error and missing -s from the description. 1996-05-06 16:36:44 +00:00
perry 71e2e03ced Added code to implement mode in which syslogd listens only to unix
domain socket (triggered by -s option) and documentation for
same. This closes pr 1761, although the code is slightly different.
1996-02-05 02:30:21 +00:00
mrg 671e777954 cast return value of hstrerror() as this changes with the incoming bind
distribution to be const char *, and, causes a warning.
1996-01-24 15:49:52 +00:00
perry 4e585ebdd7 Merge/Sync with 4.4lite2. This is the 4.4lite2 version with NetBSD bug
fixes thrown in (and an apparent pre-NetBSD fix to a hardcoded
"vmunix"). I also set the ttymsg timeout to one second (as per our
previous version), rather than the five minutes set in lite2, and made
the timeout set by a #define.
1996-01-02 17:48:41 +00:00
perry 07c1c767ba Merge/sync with 4.4lite2. Fixed HISTORY line for syslog.conf.5. Note
that the claim in the HISTORY line for syslogd.8 that it appeared in
4.3BSD is probably bogus -- I remember it being a lot older.
1996-01-02 17:41:46 +00:00
perry 7f907c1899 Merge/sync with 4.4lite2 -- just a change in version numbers and
RCS id strings.
1996-01-02 17:30:27 +00:00
jtc 0ef3213f32 document 'info' level; pr#1137 from Kenneth Stailey 1995-06-20 22:43:19 +00:00
mycroft ea4b47d0d7 Use hstrerror(), not h_errlist[]. 1995-06-11 20:22:58 +00:00
cgd f1883097f5 fix priority mangling when sending to remote syslogds. (pr 1039, by
Jarle Greipsland.)  Fix not exactly the same as the one in the PR, but close.
1995-05-14 04:18:45 +00:00
cgd d065420b32 specify man pages the new way. 1994-12-22 11:43:15 +00:00
cgd 467c1faae5 don't need -lutil 1994-01-28 01:05:30 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 3731815919 Add RCS identifiers. 1993-07-30 20:50:20 +00:00
mycroft e6ee987106 And a few more... 1993-06-15 23:25:17 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00