28 Commits

Author SHA1 Message Date
wiz
077b67effa __STDC__ is always defined on NetBSD. 2002-05-26 14:03:19 +00:00
atatat
49d53cd636 Build a single retry into syslog() so that if someone restarted
syslogd after we called openlog(), we don't just to lose until we call
openlog() again.  Or get restarted.  This is good for long running
processes that use syslog(), like sendmail, postfix, named, etc.
2001-07-30 04:12:33 +00:00
cgd
6b25d77513 convert from __progname to getprogname() 2001-02-19 22:22:16 +00:00
martin
7c10055175 Be consistent with argument types vs. prototype; use _BSD_VA_LIST_ as
the argument, instead of va_list. Might not make a difference on most
ports, depending on toolchain/MD typedefs. Does make a difference on sparc64,
where it wouldn't compile otherwise.
2000-12-30 16:27:33 +00:00
mycroft
605490369c Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
christos
11f565478e Fix unaligned access lint warning. 1999-05-03 14:35:46 +00:00
is
592e2783ea Use SUN_LEN, not sizeof. 1999-03-16 14:00:58 +00:00
is
9f6e89f0d8 Use a struct sockaddr_un, so that the new _PATH_LOG actually fits into it. 1999-03-16 13:48:00 +00:00
kleink
4c1375bee7 Protect syslog descriptor state with a mutex. TODO: cleanup handling for
cancellation points.
1999-02-04 16:23:17 +00:00
christos
d6f530541f delint 1998-11-13 12:31:50 +00:00
kleink
0263cca7db Use localtime_r() rather than localtime(); removes a potential source of
surprise for the application.
1998-09-13 16:09:06 +00:00
thorpej
e79648d085 Add some braces to make egcs happy. 1998-08-18 23:50:08 +00:00
mycroft
a51215c951 Delint (partially). 1998-07-27 14:16:35 +00:00
lukem
786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
perry
4146d58604 remove obsolete register declarations 1998-02-03 18:23:37 +00:00
perry
08b0946f73 merge/update to lite-2 1998-02-02 02:41:17 +00:00
jtc
43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos
129c9a2b53 Pacify gcc
Fix RCSID's
1997-07-13 19:34:16 +00:00
mycroft
23de03812d Clean up a little, and fix a fencepost error. 1995-08-31 16:28:01 +00:00
jtc
aa8fc243af Don't overflow fixed sized buffers. Parts of this patch come from
Perry Metzger, Charles Hannum and Paul Kranenburg.
1995-08-30 21:20:36 +00:00
cgd
76a6b7c3b3 fix operator precedence error (pr 951 from Ted Lemon) 1995-04-11 02:57:52 +00:00
cgd
ee38224d2e fix up some RCS Id's i botched. 1995-03-04 01:55:49 +00:00
cgd
9060ff0dc7 merge with 4.4-Lite, keeping local changes. clean up Ids 1995-02-27 05:50:11 +00:00
jtc
9bd83209f0 Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +00:00
jtc
9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
mycroft
f23f94cb77 Add even more RCS frobs. 1993-07-30 08:21:41 +00:00
glass
5651d3f0ed improved error handling from ftp.uu.net:bsd-sources 1993-04-27 05:51:11 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00