summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Be more careful about assembling/disassemblingkientzle2004-12-111-2/+2
| | | | | | | | | | device numbers. In particular, this should fix a bug where archiving a device node with a very large minor number would sometimes overflow and corrupt the major number. Thanks to: Ben Mesander MFC after: 7 days
* Date business, update.trhodes2004-12-101-1/+1
|
* According to the information on:trhodes2004-12-102-4/+4
| | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/swab.html the prototype for swab() should be in <unistd.h> and not in <string.h>. Move it, and update to match SUS. Leave the prototype in string.h for now, for backwards compat. PR: 74751 Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Discussed with: das
* Add pthread_atfork().grog2004-12-105-1/+92
| | | | | PR: bin/68841 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* Add workaround for {not so|too} smart phones that cannot handle SDP attributeemax2004-12-091-12/+43
| | | | | | | | | | ID ranges that consist of exactly one attribute ID. libsdp(3) will check start and end of the attribute ID range and if they are the same the range will be collapsed to one atribute ID. The problem was observed on Audiovox SMT5600 and Palm Treo 650. MFC after: 3 days
* Oooops I forgot to commit that.cognet2004-12-081-1/+1
| | | | | | Use fp_rnd_t, not fp_rnd. Reported by: Jia-Shiun Li (jiashiun at gmail dot com)
* Fix inverted #ifdef that I added. Who had the pointy hat last?peter2004-12-061-1/+1
| | | | Submitted by: kan
* Make sure the first argument to the user function is 16-byte aligned.deischen2004-12-051-5/+7
| | | | Submitted by: tegge
* Fix description: the argument to setcontext(3) must have been previouslyrse2004-12-031-1/+1
| | | | | | | initialized "by a call to getcontext(3) or makecontext(3)" and not "by a call to setcontext(3) or makecontext(3)". MFC after: 3 days
* MNT_NODEV is deprecated.ru2004-11-292-7/+2
|
* When determining whether filename is too long for akientzle2004-11-281-6/+6
| | | | | | | | | regular 'ustar' entry, use narrow-character version, not wide-character version, as the ustar entry always uses the narrow-character filename. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385
* Correct the spelling of "archive_write_pax_header"kientzle2004-11-281-1/+1
| | | | | | | in an error message. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385
* When required to negate the absoulte result of a division/remainderpeadar2004-11-271-1/+1
| | | | | | | | | | | | | | operation (by subtracting the absolute result from 0), don't test for overflow. This avoids an arithmetic exception when dividing LONG_MIN by 1: This is the only case that causes overflow, and the resulting value is correct under 2's compliment arithmetic. PR: 72024 Approved by: dwmalone@ Obtained from: NetBSD MFC after: 4 days
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-277-5/+10
| | | | including other headers.
* Fix computation of the 'n' argument to mbrtowc (through XMBRTOWC) to avoidtjr2004-11-211-4/+4
| | | | | | | | | | reading past 'stop' in various places when converting multibyte characters. Reading too far caused truncation to not be detected when it should have been, eventually causing regexec() to loop infinitely in with certain combinations of patterns and strings in multibyte locales. PR: 74020 MFC after: 4 weeks
* In preparation to remove U areas, don't refer to p_uarea in libkvm.das2004-11-201-1/+1
| | | | Reviewed by: arch@
* Install the header for libmagic.obrien2004-11-191-0/+1
| | | | | PR: 73647 Submitted by: Uranus <uranus@it.muds.net>
* Remove ntp_gettime.c which was a wrapper around sysctlbyname(3).marks2004-11-182-54/+1
| | | | | | | This is now a native system call. Reviewed by: imp, phk, njl, peter Approved by: njl
* -Add a note that currently two syntax styles for label element declarationcsjp2004-11-181-3/+16
| | | | | | | | | is supported. -Document the new more preferred syntax -Add examples for the new syntax -Add a note that the old syntax will be deprecated in the future. Reviewed by: rwatson
* Remove 80386 support from libc.jhb2004-11-162-12/+0
|
* Document more fields of struct stat.yar2004-11-151-0/+32
| | | | | Note to mdoc(7) police: The document date has already been touched today.
* Use .Vt "struct stat" consistently.yar2004-11-151-1/+1
|
* Nitpicking on grammar.yar2004-11-151-1/+1
|
* Improve mdoc(7) markup of the page: add several missing macros,yar2004-11-151-10/+10
| | | | use .Va instead of .Li for struct stat fields.
* Document the S_IS*(mode) macros used to test for file types.yar2004-11-151-1/+27
| | | | Bump the document date accordingly.
* Since I'm not using the public API for writingkientzle2004-11-151-6/+8
| | | | | | | the the pax attributes, I shouldn't try using the public API for finishing out the attribute entry, either. This also removes some old dubious state manipulations.
* Pax extended headers were always failingkientzle2004-11-151-1/+1
| | | | | | | | | because the code was using the external API (archive_write_data) and assuming internal error-return conventions. Use the internal API for writing data. Thanks to: Joe Marcus Clarke
* Remove stub libxpg4. All functionality was merged into libc a long time ago.tjr2004-11-133-19/+1
|
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-138-8/+21
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Remove un-needed call to close(2). The fd that close is beingcsjp2004-11-131-1/+0
| | | | | | called on is invalid and has no use. Reviewed by: smkelly
* Document the fact that kvm_getenvv(3) requires procfs to be mountedcsjp2004-11-131-0/+7
| | | | | | on /proc in order to operate correctly. Reviewed by: simon@, wes@
* Help Tinderbox and remove libautofsmarkm2004-11-101-1/+1
|
* sranddev() is not magic pixie dust. While it gives a good randomimp2004-11-101-2/+4
| | | | | | | | seed, the random number generator rand(3) still sucks and is unlikely sufficient for crypto use. Correct what appears to be a cut and paste error from the srandomdev() man page. Submitted by: Ben Mesander
* Add 0xbf (191) as new Solaris partition identifier.phk2004-11-101-0/+1
| | | | Submitted by: Lawrence.Lee@sun.com
* Use the RET macro.cognet2004-11-0917-52/+52
| | | | | For setjmp() and longjmp(), put the signal mask where it's supposed to be, instead of in the space reserved for fp regs.
* Add a week alias __siglongjmp => siglongjmp.cognet2004-11-091-0/+1
|
* MFKernel: Implement ffs with clz on Xscale.cognet2004-11-071-0/+6
|
* Ooops. ssize_t != int. <sigh>kientzle2004-11-064-4/+4
| | | | Thanks to: Oliver Lehmann and Peter Wemm
* i386_set_ldt() is not available when running 32 bit binaries on amd64peter2004-11-064-0/+26
| | | | | kernels. Use the recently exposed direct-set routines instead. This is only activated for when we compile i386 support libraries on amd64.
* Cosmetic tweaks to reduce diffs to the i386 counterpart.peter2004-11-062-4/+6
|
* Use the recently exposed fs/gs set functions when compiling libthr topeter2004-11-061-0/+12
| | | | | | | run as a 32 bit support library for an amd64 kernel. 32 bit consumers of libthr have zero chance of running on an amd64 kernel since we don't implement the i386_set_ldt() family of functions. Note that this commit doesn't make it actually work, it just removes one more obstacle.
* When building the custom i386 libraries for use on amd64 kernels, wepeter2004-11-066-0/+170
| | | | | | | | | can't use the i386_set_ldt() family of routines, because they are not implemented. Instead, use the recently exposed direct access sysarch routines for setting what %fs and %gs point to. Use this for the i386 TLS _set_tp() routine, but only when compiling to run as a 32 bit support binary for amd64 kernels.
* Don't define SOFTFLOAT directly in source files, it's now done in the Makefile.cognet2004-11-052-2/+1
|
* Fix signalcontext and makecontext.cognet2004-11-053-14/+17
|
* Remove getcontext.S, it is not needed.cognet2004-11-052-64/+1
|
* Import a Makefile for arm.cognet2004-11-051-0/+8
|
* Partial support of KSE for arm.cognet2004-11-058-118/+132
|
* Makefile tweaks:kientzle2004-11-051-2/+3
| | | | | | * Update Version * Add a missing MLINK * Fix 'distfile' target so it works from a clean checkout
* Remove the unused archive_string_sprintf() utility function.kientzle2004-11-052-18/+0
|
* Revert 1.24: Brain glitch. <sigh>kientzle2004-11-051-1/+1
|
OpenPOWER on IntegriCloud