summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Minor clean up for flags restoration: Use fchflags/lchflags whenkientzle2005-06-044-13/+52
| | | | | available, stub out flags restore on platforms that don't support it, update autoconf to probe for fchflags and lchflags support.
* Sort archive_entry_ctime/archive_entry_ctime_nsec correctly.kientzle2005-06-041-13/+13
|
* Support libarchive with C++ by adding appropriate conditionalkientzle2005-06-042-4/+25
| | | | extern "C" declarations.
* Fix one error in the example usage of the archive_write API and fillkientzle2005-06-041-27/+52
| | | | | in a few missing details. The example code here is now a complete, functioning example program.
* Update .Dd value.alc2005-06-041-1/+1
|
* Eliminate the original method of requesting notification of aio_read(2) andalc2005-06-041-9/+0
| | | | | | | | | | | | | | | | | aio_write(2) completion through kevent(2). This method does not work on 64-bit architectures. It was deprecated in FreeBSD 4.4. See revisions 1.87 and 1.70.2.7. Change aio_physwakeup() to call psignal(9) directly rather than indirectly through a timeout(9). Discussed with: bde Correct a bug introduced in revision 1.65 that could result in premature delivery of a signal if an lio_listio(2) consisted of a mixture of direct/raw and queued I/O operations. Observed by: tegge Eliminate a field from struct kaioinfo that is now unused. Reviewed by: tegge
* Release n_hibma's maintainership due to his ENOTIME.schweikh2005-06-041-2/+0
| | | | Discussed with, okayed, authorized, requested by, on behalf of: n_hibma (MAINTAINER)
* Fix the source path.ru2005-06-041-1/+1
|
* Missed rwatson's redundancyimp2005-06-031-2/+0
|
* Remove libz and pppd redundancyimp2005-06-031-2/+0
|
* bump SHLIB_MAJOR as libpcap refers getnetbyname(3).ume2005-06-031-1/+1
| | | | Noticed by: ru
* Match sys/boot in ensure GCC does not use x86 FP registers in integer code.obrien2005-06-031-1/+2
| | | | Submitted by: Pawel Worach <pawel.worach@gmail.com>
* reflect type change of n_net and getnetbyaddr(3).ume2005-06-031-2/+2
|
* - Remove padding for ABI compatibility of n_net member from structume2005-06-034-17/+1
| | | | | | | | | | | | | netent. - Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit arch as well to confirm to POSIX-2001. These changes break ABI compatibility on 64 bit arch. There is similar padding issue for ai_addrlen of struct addrinfo. However, it is leaved as is for now. Discussed on: arch@, standards@ and current@ X-MFC after: never
* Provide missing implementations for archive_entry_ctime() andscottl2005-06-011-0/+13
| | | | archive_entry_ctime_nano()
* Remove the C99-specific __func__ that is one of the few barrier tokientzle2005-06-017-37/+39
| | | | | | | | | compiling on IRIX and Solaris. Remove the "archive_check_magic" macro that existed only to provide __func__ to the underlying __archive_check_magic function. Thanks to: Darin Broady MFC after: 14 days
* <Ooops> Two lines got dropped from the previous commit. Apologies.kientzle2005-06-011-0/+2
| | | | MFC after: 14 days
* A minor refinement to "pax" output: Remove suid/sgid/sticky bitskientzle2005-06-013-0/+38
| | | | | | | | from mode before using mode for extended attributes entry, copy mtime/atime/ctime to extended attributes entry so it's a little more clear that it corresponds to the like-named regular entry. MFC after: 14 days
* Initialise `hex' at the top of the file, ISO C requires that an array withstefanf2005-05-311-6/+5
| | | | internal linkage has a complete type.
* Back out revision 1.51, it is wrong. We don't litter -I's within libobrien2005-05-311-1/+1
| | | | Makefiles to get headers from /usr/src vs. the standard include paths.
* Use %z to print size_t values.jhb2005-05-312-2/+2
|
* Just use uintptr_t and intptr_t rather than requiring each arch to providejhb2005-05-311-24/+2
| | | | explicit int/long typedefs.
* Add a missing END() to quiet a warning.jhb2005-05-311-0/+1
|
* Mark _thread_exit() and __sys_exit() as __dead2 to quiet some warnings.jhb2005-05-311-2/+2
|
* Style tweak.jhb2005-05-311-1/+2
|
* Add support for XMM registers in GDB for x86 processors that supportdfr2005-05-318-1/+208
| | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks
* Make bzip2 support working again after bzip2 upgrade. This time commitsobomax2005-05-291-4/+19
| | | | | | | | | | | | BZ_NO_COMPRESS support to the bzip2 sources directly (yes, this takes file off the vendor branch, but looks like bzip2 maintainer doesn't care), so that it will not be removed when the next upgrade is performed. Also, add a short note on how to test bzip2 support. Pointy hat to: obrien Correct comment (libz -> libbz2) and remove useless full path to zutil.h while I am here.
* Add missed ${.CURDIR}/../../contrib/bzip2 into include search path, otherwisesobomax2005-05-291-1/+1
| | | | old version of bzlib.h can be picked up from the /usr/include.
* update for import of v0.9.1-096sam2005-05-291-61/+125
|
* reduce cast.ume2005-05-271-3/+3
| | | | MFC after: 1 week
* Do not tread 128-bit UUID as int128. Provide separate macros to get/putemax2005-05-273-9/+81
| | | | | | 128-bit UUID libsdp(3). Fix 128-bit UUID printing in sdpcontrol(8). MFC after: 3 days
* Fix long (and long long) to long double, unsigned to long double and unsignedstefanf2005-05-272-10/+24
| | | | | | | | | | | | | | | long (and unsigned long long) to long double conversions. - Add a parameter that specifies the position of the sign bit to the _QP_TTOQ macro, previously it always looked at bit 31. Pass a negative number to disable sign inspection for unsigned types. This fixes _Qp_xtoq(), _Qp_uitoq() and _Qp_uxtoq(). - In the functions __fpu_itof() and __fpu_xtof(), look at the sign bit to decide whether we're doing a conversion from an unsigned type. If so, don't negate the mantissa if the integer exceeds the biggest signed number. PR: 55773 Patch by: Stephen Paskaluk (based upon) MFC after: 2 weeks
* Check for NULL pointer return.phk2005-05-241-0/+2
| | | | Spotted by: marcus
* Start to address the race issue between restoring a file's contentskientzle2005-05-214-105/+204
| | | | | | | | | | | | | | and restoring the metadata. In particular, the metadata-restore functions now all accept a file descriptor and a pathname. If the file descriptor is set and the platform supports the appropriate syscall, restore the metadata through the file descriptor. Otherwise, restore it through the pathname. This is complicated by varying syscall support (FreeBSD has an fchmod(2) but no fchflags(2), for example) and because non-file entries don't have an fd to use in restoring attributes (for example, mknod(2) doesn't return a file handle). MFC after: 14 days
* Correct return values in myopen() and myclose() in Example code.kientzle2005-05-211-2/+2
| | | | | | Bug: docs/79318 Thanks to: Derek Tattersall MFC after: 7 days
* reduce strlen() call.ume2005-05-201-4/+6
|
* use reentrant.h and simplify.ume2005-05-201-29/+20
|
* check return value of ttyname_r().ume2005-05-201-1/+2
|
* ttyname_r() didn't pass correct buffer size to devname_r().ume2005-05-201-1/+1
|
* Remove unused variables.charnier2005-05-202-3/+2
|
* Remove unused variable. Shorten the path to WARNS=6 compliance.charnier2005-05-201-1/+2
|
* Remove unused variables. Whitespace cleaning.charnier2005-05-201-13/+13
|
* Fix libstand on amd64. Rev 1.46 (obrien) removed the -I. that thepeter2005-05-201-1/+1
| | | | | | | bzip2 support provided, and amd64 depended on. Amd64 has a custom ${.OBJDIR}/machine symlink in it and the -I. picked this up. Without it, the libstand code was being compiled in 32 bit mode, but with 64 bit machine headers.
* Align the stack to a 16 byte boundary so that we can safely call functionsdfr2005-05-191-0/+3
| | | | | | | | | that use SSE. The compiler does attempt to do this in main() but not very successfully - it still manages to use unaligned offsets from %ebp in some cases. Also we need to have an aligned stack in case something uses SSE via _init(). MFC After: 1 week
* Keep the stack aligned to a 16 byte boundary when calling init functionsdfr2005-05-192-0/+4
| | | | | | | so that we don't cause a bus error if they start storing SSE math stuff on the stack. MFC After: 1 week
* Clean up an additional file.obrien2005-05-171-0/+1
|
* Don't use a patch w/in /usr/src. Programmatically change files when needed.obrien2005-05-173-26/+15
|
* Re-enable support for bzip2'ed compressed filesystems.obrien2005-05-172-6/+11
|
* Temporarily disable support for bzip2'ed compressed filesystems, until aobrien2005-05-174-117/+1
| | | | maintainable why of handling them is created.
* Make <runefile.h> internal to libc.ru2005-05-162-1/+63
| | | | Suggested by: phantom
OpenPOWER on IntegriCloud