summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo in the !__GNUC__ case and remove an obsolete comment.das2004-02-161-3/+1
|
* Fix some aliasing problems.das2004-02-166-52/+94
|
* sys/types.h must be included before sys/acl.h,kientzle2004-02-121-1/+1
| | | | | | as clearly documented in the acl manpage. Thanks to bde for catching this blunder.
* Connect libarchive to the build.kientzle2004-02-121-1/+1
|
* Add forgotten IEEE functions. The Perl 5.8 port now compiles.grehan2004-02-129-2/+428
| | | | | Submitted by: Suleiman Souhlal <refugee@segfaulted.com> Obtained from: NetBSD
* libarchive itself is now completely clean at WARNS=10 on all architectures.kientzle2004-02-122-2/+6
| | | | | | | Unfortunately, the stock zlib.h is not: line 885: 'err' parameter shadows global 'err' definition from <err.h> Back the WARNS level down to 3 to accomodate borked zlib.h.
* Do not cast dval.emax2004-02-112-3/+2
| | | | | | Make global _usage_page unsigned. Reviewed by: imp (mentor)
* Slight tweak to previous commit: don't forget to call _http_seterr() ifdes2004-02-111-0/+1
| | | | we get a genuine 416 reply.
* When restarting a transfer that has already completed, the server willdes2004-02-111-9/+41
| | | | | | | reply with a 416 error code (requested range not satisfiable) because we ask it to start at the end of the file. Handle this gracefully by considering a 416 reply a success if the requested offset exactly matches the length of the file and the requested length is zero.
* Re-wrap some comments.des2004-02-111-6/+7
|
* Initial import of RFC 2385 (TCP-MD5) digest support.bms2004-02-114-1/+20
| | | | | | | | | | | | | | This is the second of two commits; bring in the userland support to finish. Teach libipsec and setkey about the tcp-md5 class of security associations, thus allowing administrators to add per-host keys to the SADB for use by the tcpsignature_compute() function. Document that a single SPI must be used until such time as the code which adds support to the SPD to specify flows for tcp-md5 treatment is suitable for production. Sponsored by: sentex.net
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-105-10/+0
| | | | | | | | These files had tags after teh copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor)
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-106-13/+1
| | | | | | | | These files had tags after the copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor)
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-103-4/+0
| | | | | | | | These files had tags at the start of the file (incorrect, removed), and after the copyright notices (correct). Approved by: rwatson (mentor)
* Fix numerous constness and aliasing issues.des2004-02-106-19/+18
|
* Add sem_timedwait to the symbol map, otherwise the libc version willdeischen2004-02-101-0/+2
| | | | get used.
* Initial import of libarchive.kientzle2004-02-0945-0/+11942
| | | | | | | | | | | | | | | | | | | | | | What it is: A library for reading and writing various streaming archive formats, especially tar and cpio. Being a library, it should be easy to incorporate into pkg_* tools, sysinstall, and any other place that needs to read or write such archives. Features: * Full automatic detection of both compression and archive format. * Extensible internal architecture to make it easy to add new formats. * Support for "pax interchange format," a new POSIX-standard tar format that eliminates essentially all of the restrictions of historic formats. * BSD license Thanks to: jkh for pushing me to start this work, gordon for encouraging me to commit it, bde for answering endless style questions, and many others for feedback and encouragement. Status: Pretty good overall, though there are still a few rough edges and the library could always use more testing. Feedback eagerly solicited.
* Rewrite fabs.S to use pure SSE2 operations. I got the clues how to dopeter2004-02-081-10/+35
| | | | this from looking at code generated by gcc.
* Update the documentation for setpgrp(2) to reflect the access controldas2004-02-081-7/+21
| | | | | | | checks that the code actually performs. Judging from the 4.2BSD release notes, the docs have only been out of date for 20 years. PR: 29844
* Document the SF_NODISKIO flag, and fix a small typo.silby2004-02-081-2/+10
|
* Unbreak world.ru2004-02-071-2/+2
|
* getnetbyname fixes:dds2004-02-071-22/+67
| | | | | | | Do not choke on malformed network addresses. Return n_name in static space, not on the function's stack. MFC after: 1 week
* Add cancellation point to sem_wait() and sem_timedwait() for pshareddeischen2004-02-062-20/+36
| | | | | | | | semaphores. Also add cancellation cleanup handlers to keep semaphores in a consistent state. Submitted in part by: davidxu Reviewed by: davidxu
* Prevent memory leak on sem_destroy() by destroying the semaphore'sdeischen2004-02-061-1/+4
| | | | internal mutex and CV.
* Only allow the semaphore to be taken when the value is positive.deischen2004-02-061-2/+1
| | | | | | Don't decrement it twice when it is taken. Reported by: kris
* Correct check for invalid semaphore on sem_destroy() (s/==/!=/).deischen2004-02-051-1/+1
| | | | Reported by: kris
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-056-12/+12
|
* Correct the weak reference for sem_unlink.deischen2004-02-051-1/+1
|
* libkse was renamed to libpthread.davidxu2004-02-052-2/+2
|
* Allow libc's version of sem_trywait() to work for non-pshared mutexes.deischen2004-02-041-2/+17
|
* Put libraries in the link order.ru2004-02-041-3/+2
| | | | Reported by: lorder(1) (modified to work with libraries)
* Nothing in libypclnt depends on librpcsvc.ru2004-02-041-3/+0
| | | | Reported by: lorder(1) (modified to work with libraries)
* This module doesn't use libgssapi (and it looks never did).ru2004-02-041-3/+2
|
* Add missing file.davidxu2004-02-041-0/+43
|
* Import initial work of libpthread debugging. This is a debugger independentdavidxu2004-02-046-0/+900
| | | | | friend library for libpthread, the library will be used by debugger to read/write libpthread's internal data structures.
* Remove the band-aid (#include <time.h>).deischen2004-02-031-1/+0
|
* Add <time.h> -- bandaid to unbreak world in <semaphore.h>.deischen2004-02-031-0/+1
|
* Provide a userland version of non-pshared semaphores and add cancellationdeischen2004-02-034-338/+306
| | | | points to sem_wait() and sem_timedwait(). Also make sem_post signal-safe.
* Modify the implementation of libc semaphores so that they can bedeischen2004-02-031-146/+132
| | | | | | | | | | | | overridden by the threads library to provide a userland version of non-pshared semaphores and cancellation points. Also add a sem_timedwait(). The libc version of semaphores always uses kernel semaphores regardless of whether pshared is set or not. When threads are not present, it is difficult to get sem_wait() or sem_timedwait() to do the right thing (since pthread_cond_timedwait() and pthread_cond_wait() are stubs in libc and just return immediately).
* Bump up the maximum number concurrent threads on x86.mtm2004-02-011-1/+1
|
* Merge vfscanf.c,v 1.35.das2004-01-311-4/+10
|
* Fix the handling of negative hexadecimal numbers in integer formats.das2004-01-311-3/+9
| | | | | | | Note that this bug is unrelated to recent work in this area; it seems to have been present since revision 1.1. Obtained from: NetBSD
* LC_ALL not always take priority over other LC_*ache2004-01-311-22/+35
| | | | | Obtained from: NetBSD PR: 62047
* Correct the link for the profiling library.deischen2004-01-311-1/+1
|
* Now that libpthread is the default threading library, remove themarcel2004-01-312-24/+0
| | | | | compatibility link from libc_r to libpthread (previously a link from libc_r to libkse).
* In Write_Disk(), fix the non-error case where we returned to themarcel2004-01-301-4/+0
| | | | | | | | caller without closing the disk device and freeing allocated memory. Not closing the disk device prevents GEOM from retasting after spoiling. Pointy hat: marcel
* Change libkse back to libpthread and make it the defaultdeischen2004-01-303-0/+18
| | | | | | | | | | | thread library for i386, amd64, and ia64. For alpha and sparc64 the library is not changed and remains libkse, and links are installed so that libpthread -> libc_r. The gcc -pthread option will be changed in a separate commit so that it links to -lpthread instead of -lc_r. Approved by: re@
* I update the rwlock code in libthr to be more standards compliant andmtm2004-01-291-12/+119
| | | | | | | | | | what do I get for my troubles? libc breaks offcourse! Reimplement a hack (in libthr) that allows libc to use rwlocks without initializing them first. The hack was reimplemented so that only a private libc version of the rwlock locking functions initializes an uninitialized rwlock. The application version will correctly fail.
* When suspending a thread if the timeout was very short ormtm2004-01-291-0/+11
| | | | | | | | | | | | | the system call got interrupted and the absolute timeout is converted to a relative timeout, it may happen that we get a negative number. In such a case, simply set the timeout to zero so that if the event that the thread wants to wait for has happened it can still return successfully, but if it hasn't happened then the thread doesn't suspend indefinitely. This should fix certain applications (including mozilla) that seem to hang indefinitely sometimes. Noticed and debugged by: Morten Johansen <root@morten-johansen.net>
* Add reference to environ(7)ache2004-01-291-1/+2
|
OpenPOWER on IntegriCloud