Commit Graph

5540 Commits

Author SHA1 Message Date
eeh
5d73d71676 Fix modf() (I hope. Can't be any worse than the old version.) 2000-11-01 23:32:41 +00:00
itojun
4dd96530bc make the following behavior compatible with GNU gettext.
bindtextdomain(foo, path)
	textdomain(foo)
and message file is found under "path" only.  sync with citrus.
2000-11-01 03:39:21 +00:00
itojun
a8735e2859 do not build libintl if MKNLS=no 2000-11-01 01:21:21 +00:00
briggs
2c5b165052 fmtcheck() should be declared as fmtcheck(), not __fmtcheck().
The weak_alias is __fmtcheck().  matt@3am-software.com pointed this out
as a problem when trying to build on a vax.
2000-11-01 01:17:20 +00:00
itojun
511f411d40 we do not allow relative pathname 2000-10-31 16:11:32 +00:00
itojun
099fdc2a17 less warnings on lint. be more friendly with align-picky arch. 2000-10-31 16:02:52 +00:00
itojun
0ad204abb5 fix default domain name handling. why textdomain() and bindtextdomain()
behaves so different?  sync with citrus.
2000-10-31 15:23:04 +00:00
itojun
953ed8c2ba declare .Lb symbol for libintl. 2000-10-31 15:08:29 +00:00
lukem
afc75b9e6d Don't getenv $HESIOD_CONFIG or $HES_DOMAIN if issetugid().
Initial problem noted by Danny Braniss <danny@cs.huji.ac.il>
via Jacques A.  Vidrine <n@nectar.com>
2000-10-31 12:47:21 +00:00
itojun
78c48ba46f remove confusing goto. sync with citrus 2000-10-31 11:08:18 +00:00
itojun
435b1e303d fix read(2) return value validation. sync with citrus 2000-10-31 11:05:22 +00:00
itojun
c70cd35ba7 bind_textdomain_codeset() always fails. sync with citrus 2000-10-31 10:53:49 +00:00
itojun
dd5efd6d45 enable lib/libintl. 2000-10-31 10:46:34 +00:00
itojun
bb42e65bfe BSD-licensed libintl, fully compatible with GNU libintl (in GNU gettext).
from Citrus project xpg4dl repository.
2000-10-31 10:45:04 +00:00
matt
6ea9494104 be consistent in the use of u_long. eventually they should be uintptr_t. 2000-10-27 21:38:10 +00:00
itojun
bcab9b6601 define HAVE_IFM_ADDRS for non-bsdi. sync with kame 2000-10-27 15:48:49 +00:00
jdolecek
1c7d8af31d rewrite KERN_MAXPTYS description to match reality 2000-10-26 07:24:00 +00:00
erh
a5c46ce842 Document the PROFDIR environment variable. 2000-10-24 19:31:59 +00:00
briggs
d00ebb12e9 Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.

libc minor bump for new API entry point.
2000-10-20 18:46:05 +00:00
kleink
78eeef4b49 Actually EINVAL fits the circumstances better. 2000-10-19 09:47:43 +00:00
kleink
20b0e10891 C99: Passing a null pointer as the buffer argument to snprintf() and
vsnprintf() is permitted when the size argument is zero as well; mostly
from Peter Seebach in PR standards/9603.
2000-10-19 09:45:31 +00:00
kim
6ec737498a Make "f" standout better. 2000-10-18 15:40:52 +00:00
erh
2686020623 Squash lint errors by using size_t instead of u_int to avoid differing sizes of data. 2000-10-16 04:12:55 +00:00
itojun
4c0a48380a /etc/login.conf is optional, so don't return NULL even if
there's none found.  addresses part of PR 11150.  sync with openbsd.
2000-10-12 00:28:33 +00:00
itojun
11ede04dd7 cosmetic; indentation 2000-10-12 00:19:57 +00:00
phil
cc543121c5 Document the behaviour with consecutive separator characters. 2000-10-11 18:26:04 +00:00
jeffs
4912e50a59 Make memcpy and memmove use bcopy assembly for mips. Tweak forward copy
code for backward copy to make overlap copy faster.  This happens in
some SW like sleepycat db.  Use temp labels in order to not confused
the profiling tools.
2000-10-10 21:51:54 +00:00
he
dd0d61e300 Use %lx instead of %x with _kvm_err when arg is u_long. 2000-10-10 20:44:16 +00:00
is
a9006f3ed5 Format string cleanup by sommerfeld. 2000-10-10 19:23:58 +00:00
is
e999d8013c Format string cleanups by sommerfeld. 2000-10-10 19:12:48 +00:00
is
8d4a392e3d Format string cleanup by sommerfeld. 2000-10-10 19:09:38 +00:00
is
f518246fc1 Format string cleanup, by Bill Sommerfeld. 2000-10-10 18:09:25 +00:00
itojun
5e09a97a4e login_cap.h requires sys/types.h (or should it pull sys/types.h in?) 2000-10-10 13:17:28 +00:00
toshii
4acc4fc7fe lfs_bmapv -> lfs_markv 2000-10-09 09:34:00 +00:00
itojun
ffc3a749e5 we already have all fixes toward 0.4 (v0.4 Sat Jul 25 12:40:09 PDT 1998 -
note that there are MULTIPLE 0.4), so update version identification.
2000-10-08 14:28:05 +00:00
nathanw
76bc7abc93 Use ".Fa stat" instead of ".Fn stat" when referring to the structure
rather than the function.
2000-10-07 16:48:24 +00:00
itojun
c68d2a0c47 s/MAN1/MAN/ 2000-10-07 04:23:32 +00:00
jdolecek
f5cb6bbd84 update(8) is gone, put in some info about ioflush
this addresses bin/11141 by Nick Hudson
2000-10-06 19:54:26 +00:00
jdolecek
a69cc94b83 kill references to update(8), it doesn't exist any more
this addresses bin/11141 by Nick Hudson
2000-10-06 18:53:28 +00:00
thorpej
761a000d3c Add pcap_compile_nopcap() from the most recent libpcap release
from tcpdump.org, although with a slightly different signature.
The tcpdump.org version has no way to report an error string back
to the caller.  This version takes an additional "errbuf" argument
(similar to pcap_open_*()).
2000-10-06 16:39:24 +00:00
ad
5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
itojun
8f6dee4c39 make random(3) manpage meet with actual implementation.
argument to srandom() and initstate() were changed in
lib/libc/stdlib/random.c 1.28 -> 1.29, and manpage was left behind.
2000-10-05 06:21:53 +00:00
enami
3cc984aab8 Make this file compiles on alpha. 2000-10-05 03:21:01 +00:00
itojun
05a03575d1 avoid conflicting manpage filenames (like err.3) 2000-10-05 01:55:49 +00:00
sommerfeld
934ef16427 Format size mismatch 2000-10-04 18:12:01 +00:00
sommerfeld
12c2f5bd9a Add format checking 2000-10-04 17:12:01 +00:00
sommerfeld
8aefd97377 Format string audit cleanup (increase format checking) 2000-10-04 16:24:49 +00:00
sommerfeld
acf589519a format string audit (silence warnings, save space) 2000-10-04 16:21:39 +00:00
sommerfeld
f9d3ae0fbb format-string audit cleanups 2000-10-04 16:11:27 +00:00
sommerfeld
4c38fc5aac Varargsify dprintf to allow for format string checking 2000-10-04 14:56:24 +00:00