summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* libsmb is now WARNS 2 clean on 64-bit platforms.obrien2004-10-191-0/+1
|
* style.Makefile(5)obrien2004-10-191-5/+4
|
* uniq(1) is not an install tool, and using it was causingru2004-10-181-2/+2
| | | | | | "uniq: not found" during the installworld. Spotted by: Roman Neuhauser
* Sync with sys/i386/include/endian.h: use the single instruction 'bswap'.obrien2004-10-182-0/+8
|
* Replaced afterinstall: with FILES.ru2004-10-182-12/+4
|
* Since sendfile(2) works on regular files only,yar2004-10-181-1/+1
| | | | | | | which have no negative offsets, "negative" and "invalid" are equivalent WRT the offset argument. Suggested by: bde
* Revert 1.18: It broke Athlon64 builds, whichkientzle2004-10-181-1/+2
| | | | | | | | | probably means it also requires a .so version bump. Defer it until I finish some related work on cleaning up error returns throughout the library. Thanks to: Conrad J. Sabatier
* Use STDERR_FILENO instead of 2, as POSIX intended.kientzle2004-10-181-1/+1
| | | | Thanks to: Alfred Perlstein
* Remove setrunelocale()ache2004-10-181-23/+0
|
* Correctly report write errors from the lowest-levelkientzle2004-10-173-6/+21
| | | | output routines back to the compression layer.
* Refine the error-checking and reporting in thekientzle2004-10-171-6/+11
| | | | | "compress" format decompression code. In particular, distinguish between EOF and fatal data errors.
* Correct the return type of archive_write_datakientzle2004-10-171-1/+1
| | | | | | to match the documentation. MFC after: 30 days
* Don't rely on stdio here.kientzle2004-10-171-11/+20
|
* Document EMSGSIZE return from recvmsg due to insufficient free filesalfred2004-10-171-1/+10
| | | | when transfering rights (file descriptors.)
* Remove the obsolete <rune.h> interface.tjr2004-10-1711-846/+11
|
* Remove support for the obsolete UTF2 encoding.tjr2004-10-179-317/+3
|
* Bump the libc major version number to 6.tjr2004-10-171-1/+1
|
* Document that the length modifier l is ignored for floating pointstefanf2004-10-161-1/+3
| | | | conversion specifiers (a, A, e, E, f, F, g and G).
* Explain it is a negative offset that EINVAL may indicate.yar2004-10-162-4/+4
| | | | | | | Now readers won't get an impression that pointing to beyond the current end of file will result in EINVAL. MFC after: 1 week
* Improve mdoc(7) markup.yar2004-10-161-3/+9
|
* Give details on what will happen if the `offset' argumentyar2004-10-161-2/+6
| | | | | | | | | to sendfile(2) falls beyond the end of file. Touch .Dd. PR: bin/72649 (in the audit trail) MFC after: 1 week
* Enable building with LIBC_SCCS defined.obrien2004-10-1610-13/+10
| | | | Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
* Try to bring some sanity to the SCM ID's.obrien2004-10-1644-71/+67
| | | | | | + spell LIBC_SCCS consistently + enable builds with LIBC_SCCS defined to not syntax error + minor SCM reformatting to try to have some consistency
* Remove extra closing parenthesis added in revision 1.4.stefanf2004-10-141-1/+1
| | | | Noticed by: Andrea Campi
* 1. Now that it's a thread's state is changed from within the kernel, wheremtm2004-10-132-4/+10
| | | | | | | | | | | | | | no userland locks are heald, the dead thread lock can no longer protect access to it. Therefore, instead of using an if (!dead)...else clause after walking the active threads list test the thread pointer before deciding not to walk the dead threads list. If the thread pointer is null it means it was not found in the active threads list and the dead threads list should be checked. 2. Do not free the stack of a thread that is not marked dead. This is the 2nd and final part of eliminating the race to free a thread's stack. MFC after: 3 days
* Correctly document the return value of strerror() and strerror_r() andkeramida2004-10-121-11/+10
| | | | | | | | the contents of the returned buffer for unknown error codes. PR: docs/72578 Submitted by: Jilles Tjoelker <jilles@stack.nl> MFC after: 3 days
* Build as a shared lib again.obrien2004-10-111-4/+0
| | | | Discussed with: kientzle
* Belatedly catch up with the dev_t/cdev changes from a few months back.peter2004-10-111-1/+11
| | | | | | | Extract the struct cdev pointer and the tty device from inside rather than incorrectly casting the 'struct cdev *' pointer to a 'dev_t' int. Not that this was particularly important since it was only used for reading vmcore files.
* More updates for math(3):das2004-10-111-30/+40
| | | | | | | | | | - Make some minor rearrangements in the introduction. - Mention the problem with argument reduction on i386. - Add recently-implemented functions to the table. - Un-document the error bounds that only apply to the old 4BSD math library, and fill in the correct values where I know them. No attempt has been made to document bounds lower than 1 ulp, although smaller bounds are usually achievable in round-to-nearest mode.
* Add and document ilogbl(), a long double version of ilogb().stefanf2004-10-114-4/+65
|
* Use the FP_ILOG macros from <math.h> rather than hardcoded return values.stefanf2004-10-092-6/+13
| | | | | | Also be prepared for FP_ILOGBNAN != INT_MAX. Reviewed by: md5
* o Backout rev. 1.16, see 1.3 commit log for more info.maxim2004-10-091-6/+4
| | | | | | | | | | | Requested by: bde o Remove unneeded sys/types.h and netinet/in.h from the synopsis and the example. o We do have struct in_addr in arpa/inet.h, so no need for netinet/in.h. o Mention where AF_* constants defined are. Educated by: bde
* Delete a .Fn that had no argument andkeramida2004-10-091-1/+1
| | | | | | properly terminate a .Bl with a matching .El MFC after: 3 days
* if system scope thread didn't set timeout, don't call clock_gettime syscalldavidxu2004-10-082-16/+18
| | | | | | before and after sleeping. Reviewed by: deischen
* When send()ing to syslogd return ENOBUFS keep trying until success.glebius2004-10-081-8/+18
| | | | | | | | | | This fixes a case, when DoSed syslogd completely loses messages. PR: bin/72366 Discussed with: dwmalone, millert@OpenBSD.org Approved by: julian (mentor) Obtained from: OpenBSD (rev. 1.17, 1.21 by millert) MFC after: 3 months
* Make less wrong for desciptions of signal handlingjulian2004-10-081-41/+53
| | | | MFC in: 1 week
* Remove a reference to a non-existent syscall: _thr_exit(). Themtm2004-10-081-4/+1
| | | | actual name is thr_exit(). How this ever worked is beyond me.
* Use PTHREAD_SCOPE_SYSTEM to decide what should be done.davidxu2004-10-072-6/+4
|
* Follow kernel change, restore signal mask correctly by using a commanddavidxu2004-10-072-42/+34
| | | | of kse_thr_interrupt.
* - Fix the compile to chase the p_rux changes.jhb2004-10-061-1/+7
| | | | | | | - Add a comment noting that the ru_[us]times values being read aren't actually valid and need to be computed from the raw values. Submitted by: many (1)
* Close a race between a thread exiting and the freeing of it's stack.mtm2004-10-061-3/+2
| | | | | | | | | After some discussion the best option seems to be to signal the thread's death from within the kernel. This requires that thr_exit() take an argument. Discussed with: davidxu, deischen, marcel MFC after: 3 days
* Allocate red zone and stack space together and then split red zone fromdavidxu2004-10-062-14/+34
| | | | | allocated space, orignal code left red zone unallocated, but those space can be allocated by user code, and result was providing no protection.
* Mutually cross-reference sysexits(3) and err(3). Add text to err(3)jkoshy2004-10-041-1/+6
| | | | | | recommending that the standard exit codes in sysexits(3) be used. Reviewed by: ru
* Don't add integers to void pointers.stefanf2004-10-036-7/+7
|
* Don't add integers to void pointers.stefanf2004-10-031-1/+2
|
* Directly include <runetype.h> for _CurrentRuneLocale, <_ctype.h> doesn'tstefanf2004-10-031-0/+1
| | | | include it in all cases.
* Finish the de-orbital burn of our previous FreeBSD version compat libsobrien2004-10-02164-172537/+0
| | | | | | living in usr/src. We need to use them from ports to record dependencies. Discussed with: re(scottl)
* Enable the new compat4x libs.scottl2004-10-021-0/+5
|
* Update libc, libc_r, and libperl and add libhistory, libm, libopie, libpcap,scottl2004-10-028-14879/+18490
| | | | and libreadline from 4.10.
* Prepare for 5.3 release by updating libraries that had changed inkensmith2004-10-019-13474/+16626
| | | | | | 4.10 and adding libraries whose version got bumped recently. Updated libraries: libc, libc_r, and libperl. Added: libhistory, libm, libopie, libpcap, and libreadline.
OpenPOWER on IntegriCloud