Andrey A. Chernov
4e86aa7f9d
Add transition period hack allowing old locale names return proper codeset too
2001-06-25 09:03:10 +00:00
Dima Dorfman
2b47b55f69
Add RETURN VALUES and ERRORS sections.
2001-06-25 01:25:01 +00:00
Dima Dorfman
53950232dd
Minor cleanup: sort includes, fix name.
2001-06-25 01:21:13 +00:00
Dima Dorfman
ce1e308f7a
Add a link to extattr.2 (from extattr_get_file.2). The other names
...
are too specific and too long, and extattr.2 makes a nice point of
reference for "extattr-related syscalls".
2001-06-24 23:58:27 +00:00
Dima Dorfman
444a2d61e8
Add a manual page for extattr_string_to_namespace and
...
extattr_namespace_to_string.
Reviewed by: rwatson
2001-06-24 23:54:46 +00:00
Dima Dorfman
44fe68c421
mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.
2001-06-24 20:58:20 +00:00
Dima Dorfman
17011fc056
The fact that phk wrote this is not a bug!
2001-06-24 20:56:39 +00:00
Dima Dorfman
acaa9950a4
Reword a sentence to make it proper English.
2001-06-24 18:11:42 +00:00
Dima Dorfman
a910f192bb
Remove duplicate words.
2001-06-24 01:34:38 +00:00
Ian Dowse
32de72d27f
Add a new clnt_control() request `CLSET_CONNECT' that controls
...
whether or not connect(2) is used for UDP client sockets. The default
is not to connect(), so existing clients will see no change in
behaviour.
The use of connect(2) for UDP clients has a number of advantages:
only replies from the intended address are received, and ICMP errors
pertaining to the connection are reported back to the application.
2001-06-23 19:43:21 +00:00
Ruslan Ermilov
10ae6ece36
Document "normalizing" behavior of mktime(3).
...
PR: bin/28313
Reviewed by: bde, wollman
MFC after: 1 week
2001-06-23 08:57:40 +00:00
Jonathan Lemon
4dd2af159e
Bring in fix from rev 1.32 that got lost during the conversion to kqueue.
...
This prevents an indefinte timeout in case the kevent call is interrupted
for some reason.
PR: 26665
MFC in: 2 weeks
2001-06-23 06:54:28 +00:00
David E. O'Brien
d245408639
Fix long lines.
2001-06-21 19:17:12 +00:00
David E. O'Brien
4e78abc4bb
Add libbz2 to provide Bzip2 capabilities to the system.
2001-06-21 19:16:17 +00:00
Dima Dorfman
12985df355
Fix a grammar bogon.
2001-06-20 22:03:10 +00:00
Garrett Wollman
3f22a03fa6
Fix spelling of `errno' and add cross-references.
2001-06-18 22:26:31 +00:00
Garrett Wollman
5813675eed
Document _SC_IOV_MAX. Add cross-references to pathconf(2), confstr(3), and
...
getconf(1). This document still needs to be sorted and to have other missing
parameters described.
2001-06-18 22:18:08 +00:00
Garrett Wollman
37336173d3
After one too many PRs on the subject, bite the bullet and define IOV_MAX
...
and its associated constants. Implement _SC_IOV_MAX in the usual way.
Be a bit sloppy about the namespace question; this should get cleared up
in time for 5.0.
MFC after: 1 month
2001-06-18 20:24:54 +00:00
David Malone
75328eca8d
If the username we are trying to look up in the db files won't fit into
...
the buffer then act like it doesn't exist. The buffer is always big enough
for any valid username.
PR: 27860
Reviewed by: nectar
2001-06-18 16:09:24 +00:00
Assar Westerlund
1866adc54f
(cantwrite): do not allocate memory for a NULL string
...
PR: misc/26044
MFC after: 1 week
Submitted by: bde
2001-06-18 04:44:23 +00:00
Assar Westerlund
a52532c91a
revert freeing of memory that gets allocated when str == NULL
...
(this will be fixed in a better way)
PR: misc/26044
2001-06-18 04:40:52 +00:00
Mike Heffner
224e22e6c6
Fix typo: clnt_destroy() only takes one arg.
...
MFC after: 2 weeks
2001-06-18 00:45:31 +00:00
Assar Westerlund
207d92d043
free memory that gets allocated by vfprintf when str == NULL
...
PR: misc/26044
MFC after: 1 week
2001-06-16 05:37:57 +00:00
Peter Wemm
d6be5f6435
Fix libpam's linker set stuff to use the new API (unbreak world), and get
...
rid of gensetdefs from here as well.
2001-06-14 01:13:30 +00:00
Chris Costello
8b136a6dde
Convert to mdoc(7).
2001-06-13 21:52:07 +00:00
Jens Schweikhardt
32b21f091e
Add description for the 'll' modifier for long long. In essence a copy
...
from the 'l' description with s/long/long long/g.
PR: 27017
Submitted by: Guy Harris <guy@alum.mit.edu>
MFC after: 2 weeks
2001-06-13 19:05:12 +00:00
Ruslan Ermilov
d28011e556
Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostly
...
to fix the "-nostdinc WARNS=X" breakage caused by broken prototypes
for cabs() and cabsl() in <math.h>.
Reimplemented cabs() and cabsl() using new complex numbers types and
moved prototypes from <math.h> to <complex.h>.
2001-06-13 15:16:30 +00:00
Ruslan Ermilov
589ee357a4
Complete prototype for fts_compar.
2001-06-13 14:59:57 +00:00
Peter Wemm
7dd144d715
Turn on the extra 'const' settings for various curses functions. While
...
this is not strictly compliant with XSI curses, it enables us to pass
const strings to many more functions that are actually const safe than
before. This should be harmless.
Requested by: lots of folks
2001-06-12 01:14:02 +00:00
Ian Dowse
f9f6897972
Make the non-threaded stub for pthread_sigmask() a no-op instead
...
of calling sigprocmask(). This matches the behaviour of thr_sigsetmask()
on Solaris; _pthread_sigmask_stub was added purely for compatibility
with Solaris (for TI-RPC), so it might as well do the same thing.
This fixes the problem where client RPC calls ignored all signals
for the complete duration of the RPC. This behaviour is currently
necessary in the threaded case due to locking issues, but was never
intended to occur in non-threaded programs.
Reviewed by: deischen
2001-06-11 23:18:22 +00:00
Jonathan Lemon
add0681213
Fix small bogon.
...
Submitted by: Anton Berezin <tobez@tobez.org>
2001-06-11 18:15:31 +00:00
Dag-Erling Smørgrav
9e2a792c46
Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0. This
...
fixes a bug in pkg_add(1) (which nobody noticed because of another bug).
2001-06-11 14:12:46 +00:00
Hajimu UMEMOTO
3384154590
Sync with recent KAME.
...
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.
TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.
Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks
2001-06-11 12:39:29 +00:00
Andrey A. Chernov
75d03a7f04
Handle "ASCII" and "US-ASCII" aliases
2001-06-10 23:22:31 +00:00
Hajimu UMEMOTO
ce6282db3b
Implement EDNS0 support, as EDNS0 support will be made mandatory for
...
IPv6 transport-ready resolvers/DNS servers. Need careful configuration
when enable it. (default config is not affected).
See manpage for details.
XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.
Obtained from: KAME/NetBSD
2001-06-10 20:25:24 +00:00
Maxim Sobolev
000d56193c
Fix cross-references:
...
xntpd.8 --> ntpd.8
acl_delete_perms.3 --> acl_delete_perm.3
getname.2 --> getsockname.2
MFC after: 1 week
2001-06-10 12:06:54 +00:00
Dima Dorfman
4088069c3a
Xref dladdr(3).
...
Requested by: -hackers
2001-06-08 22:50:33 +00:00
Maxim Sobolev
e34dcf281a
Create curs_termcap.3 --> termcap.3 MLINK, so many manpages in our tree that
...
reference to termcap.3 will not be pointing to nowhere.
MFC after: 1 week
2001-06-07 17:27:44 +00:00
Maxim Sobolev
8657581bfd
Correct cross-reference:
...
portmap.8 --> rpcbind.8
Submitted by: .Xr testing script
2001-06-07 16:59:19 +00:00
Ruslan Ermilov
7125977be7
s/format/byte order/ (for clarity).
2001-06-07 15:15:38 +00:00
Dima Dorfman
a7d81577d6
urandom(4) -> random(4) in comments.
...
PR: 27858
Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
Reviewed by: md5(1)
Approved by: markm
2001-06-07 02:32:18 +00:00
Dima Dorfman
df49b8e2ab
urandom(4) -> random(4)
...
PR: 27858
Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
Approved by: markm
2001-06-07 02:31:03 +00:00
Warner Losh
656f411d33
Back out my changes describing how snprintf nul terminates. It
...
was from the iso standard. Keep the sentence that says it is always
NUL terminated to make sure that people understand that.
Requested by: bde
2001-06-05 23:39:45 +00:00
Garrett Wollman
80d444c883
Don't mung the user's tm_sec field if we don't need to. (Belt-and-suspenders
...
version.)
PR: bin/27630
Submitted by: Arthur David Olson <ado@nci.nih.gov>
Obtained from: Timezone mailing-list <tz@elsie.nci.nih.gov>
MFC after: 1 month
2001-06-05 20:13:28 +00:00
Warner Losh
7528c356f5
I neglected to notice that the change text had already been added in a
...
different place. Back out what I added since the other text is better.
Noticed by: nectar
2001-06-05 16:43:51 +00:00
Maxim Sobolev
fe11f6f605
Correct cross-references:
...
ng_bpf.8 --> ng_bpf.4
ng_ether.8 --> ng_ether.4
ng_iface.8 --> ng_iface.4
ng_pppoe.8 --> ng_pppoe.4
ng_socket.8 --> ng_socket.4
ng_tty.8 --> ng_tty.4
ng_{type}.4 --> /dev/null
MFC after: 1 week
2001-06-05 12:40:03 +00:00
Maxim Sobolev
76c6864951
Fix cross-references:
...
ipnat.8 --> ipnat.1
environ.5 --> environ.7
isssetugid.2 --> issetugid.2
MFC after: 1 week
2001-06-05 12:23:22 +00:00
Warner Losh
485839b9ee
Document what happens when the real id is changed.
...
I may have obtained this from NetBSD, but I don't recall. I do know that
I checked FreeBSD's implementation to make sure that it matched what I wrote.
2001-06-05 04:35:42 +00:00
Warner Losh
890d5b436d
Minor improvements:
...
o Explain snprintf's return value better.
o Document snprintf, et al, were defined in C-99
o Warn against %n.
2001-06-05 04:22:30 +00:00
Dima Dorfman
d33f4d20c9
Add a missing word.
...
Obtained from: OpenBSD
2001-06-05 00:25:18 +00:00