summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add transition period hack allowing old locale names return proper codeset tooAndrey A. Chernov2001-06-251-4/+31
| | | | Notes: svn path=/head/; revision=78758
* Add RETURN VALUES and ERRORS sections.Dima Dorfman2001-06-252-4/+22
| | | | Notes: svn path=/head/; revision=78748
* Minor cleanup: sort includes, fix name.Dima Dorfman2001-06-251-6/+5
| | | | Notes: svn path=/head/; revision=78747
* Add a link to extattr.2 (from extattr_get_file.2). The other namesDima Dorfman2001-06-241-1/+2
| | | | | | | | are too specific and too long, and extattr.2 makes a nice point of reference for "extattr-related syscalls". Notes: svn path=/head/; revision=78739
* Add a manual page for extattr_string_to_namespace andDima Dorfman2001-06-243-0/+185
| | | | | | | | | extattr_namespace_to_string. Reviewed by: rwatson Notes: svn path=/head/; revision=78738
* mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.Dima Dorfman2001-06-241-6/+6
| | | | Notes: svn path=/head/; revision=78727
* The fact that phk wrote this is not a bug!Dima Dorfman2001-06-241-5/+2
| | | | Notes: svn path=/head/; revision=78726
* Reword a sentence to make it proper English.Dima Dorfman2001-06-241-1/+1
| | | | Notes: svn path=/head/; revision=78706
* Remove duplicate words.Dima Dorfman2001-06-249-10/+10
| | | | Notes: svn path=/head/; revision=78686
* Add a new clnt_control() request `CLSET_CONNECT' that controlsIan Dowse2001-06-232-4/+27
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=78678
* Document "normalizing" behavior of mktime(3).Ruslan Ermilov2001-06-231-1/+12
| | | | | | | | | PR: bin/28313 Reviewed by: bde, wollman MFC after: 1 week Notes: svn path=/head/; revision=78656
* Bring in fix from rev 1.32 that got lost during the conversion to kqueue.Jonathan Lemon2001-06-231-8/+19
| | | | | | | | | | | This prevents an indefinte timeout in case the kevent call is interrupted for some reason. PR: 26665 MFC in: 2 weeks Notes: svn path=/head/; revision=78647
* Fix long lines.David E. O'Brien2001-06-211-4/+4
| | | | Notes: svn path=/head/; revision=78560
* Add libbz2 to provide Bzip2 capabilities to the system.David E. O'Brien2001-06-212-1/+21
| | | | Notes: svn path=/head/; revision=78559
* Fix a grammar bogon.Dima Dorfman2001-06-201-1/+1
| | | | Notes: svn path=/head/; revision=78517
* Fix spelling of `errno' and add cross-references.Garrett Wollman2001-06-181-6/+13
| | | | Notes: svn path=/head/; revision=78443
* Document _SC_IOV_MAX. Add cross-references to pathconf(2), confstr(3), andGarrett Wollman2001-06-181-3/+16
| | | | | | | | getconf(1). This document still needs to be sorted and to have other missing parameters described. Notes: svn path=/head/; revision=78442
* After one too many PRs on the subject, bite the bullet and define IOV_MAXGarrett Wollman2001-06-181-0/+12
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=78431
* If the username we are trying to look up in the db files won't fit intoDavid Malone2001-06-181-1/+3
| | | | | | | | | | | the buffer then act like it doesn't exist. The buffer is always big enough for any valid username. PR: 27860 Reviewed by: nectar Notes: svn path=/head/; revision=78418
* (cantwrite): do not allocate memory for a NULL stringAssar Westerlund2001-06-181-1/+2
| | | | | | | | | | | PR: misc/26044 MFC after: 1 week Submitted by: bde Notes: svn path=/head/; revision=78400
* revert freeing of memory that gets allocated when str == NULLAssar Westerlund2001-06-184-8/+0
| | | | | | | | | (this will be fixed in a better way) PR: misc/26044 Notes: svn path=/head/; revision=78399
* Fix typo: clnt_destroy() only takes one arg.Mike Heffner2001-06-181-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=78397
* free memory that gets allocated by vfprintf when str == NULLAssar Westerlund2001-06-164-0/+8
| | | | | | | | | PR: misc/26044 MFC after: 1 week Notes: svn path=/head/; revision=78325
* Fix libpam's linker set stuff to use the new API (unbreak world), and getPeter Wemm2001-06-141-10/+1
| | | | | | | rid of gensetdefs from here as well. Notes: svn path=/head/; revision=78194
* Convert to mdoc(7).Chris Costello2001-06-131-86/+84
| | | | Notes: svn path=/head/; revision=78188
* Add description for the 'll' modifier for long long. In essence a copyJens Schweikhardt2001-06-131-4/+24
| | | | | | | | | | | from the 'l' description with s/long/long long/g. PR: 27017 Submitted by: Guy Harris <guy@alum.mit.edu> MFC after: 2 weeks Notes: svn path=/head/; revision=78180
* Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostlyRuslan Ermilov2001-06-133-19/+20
| | | | | | | | | | | 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>. Notes: svn path=/head/; revision=78172
* Complete prototype for fts_compar.Ruslan Ermilov2001-06-131-1/+3
| | | | Notes: svn path=/head/; revision=78169
* Turn on the extra 'const' settings for various curses functions. WhilePeter Wemm2001-06-122-2/+2
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=78121
* Make the non-threaded stub for pthread_sigmask() a no-op insteadIan Dowse2001-06-111-6/+1
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=78117
* Fix small bogon.Jonathan Lemon2001-06-111-1/+1
| | | | | | | Submitted by: Anton Berezin <tobez@tobez.org> Notes: svn path=/head/; revision=78086
* Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0. ThisDag-Erling Smørgrav2001-06-111-1/+1
| | | | | | | fixes a bug in pkg_add(1) (which nobody noticed because of another bug). Notes: svn path=/head/; revision=78071
* Sync with recent KAME.Hajimu UMEMOTO2001-06-119-196/+827
| | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=78064
* Handle "ASCII" and "US-ASCII" aliasesAndrey A. Chernov2001-06-101-1/+2
| | | | Notes: svn path=/head/; revision=78024
* Implement EDNS0 support, as EDNS0 support will be made mandatory forHajimu UMEMOTO2001-06-106-2/+64
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=78012
* Fix cross-references:Maxim Sobolev2001-06-101-1/+1
| | | | | | | | | | | xntpd.8 --> ntpd.8 acl_delete_perms.3 --> acl_delete_perm.3 getname.2 --> getsockname.2 MFC after: 1 week Notes: svn path=/head/; revision=77973
* Xref dladdr(3).Dima Dorfman2001-06-081-0/+1
| | | | | | | Requested by: -hackers Notes: svn path=/head/; revision=77926
* Create curs_termcap.3 --> termcap.3 MLINK, so many manpages in our tree thatMaxim Sobolev2001-06-072-6/+8
| | | | | | | | | reference to termcap.3 will not be pointing to nowhere. MFC after: 1 week Notes: svn path=/head/; revision=77879
* Correct cross-reference:Maxim Sobolev2001-06-071-15/+15
| | | | | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script Notes: svn path=/head/; revision=77878
* s/format/byte order/ (for clarity).Ruslan Ermilov2001-06-071-1/+1
| | | | Notes: svn path=/head/; revision=77877
* urandom(4) -> random(4) in comments.Dima Dorfman2001-06-072-2/+2
| | | | | | | | | | PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Reviewed by: md5(1) Approved by: markm Notes: svn path=/head/; revision=77851
* urandom(4) -> random(4)Dima Dorfman2001-06-072-4/+4
| | | | | | | | | PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Approved by: markm Notes: svn path=/head/; revision=77850
* Back out my changes describing how snprintf nul terminates. ItWarner Losh2001-06-051-9/+11
| | | | | | | | | | 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 Notes: svn path=/head/; revision=77794
* Don't mung the user's tm_sec field if we don't need to. (Belt-and-suspendersGarrett Wollman2001-06-051-1/+3
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=77785
* I neglected to notice that the change text had already been added in aWarner Losh2001-06-051-3/+0
| | | | | | | | | different place. Back out what I added since the other text is better. Noticed by: nectar Notes: svn path=/head/; revision=77775
* Correct cross-references:Maxim Sobolev2001-06-051-2/+2
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=77760
* Fix cross-references:Maxim Sobolev2001-06-052-3/+3
| | | | | | | | | | | ipnat.8 --> ipnat.1 environ.5 --> environ.7 isssetugid.2 --> issetugid.2 MFC after: 1 week Notes: svn path=/head/; revision=77759
* Document what happens when the real id is changed.Warner Losh2001-06-052-0/+6
| | | | | | | | 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. Notes: svn path=/head/; revision=77747
* Minor improvements:Warner Losh2001-06-051-15/+29
| | | | | | | | | o Explain snprintf's return value better. o Document snprintf, et al, were defined in C-99 o Warn against %n. Notes: svn path=/head/; revision=77744
* Add a missing word.Dima Dorfman2001-06-052-2/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=77742