summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Revert the rev. 1.4, it causes breakage on most arches except i386.kib2006-10-231-4/+1
| | | | | | | | | Remove the const qualifier from ap argument for __v2printf, that induced that breakage, and seems to be the real reason for bad code. ap is modified inside the __v2printf body by va_arg macro. Pointy hat to: kib Approved by: pjd (mentor)
* Minor markup fix: A comma should be seperated by space from macrosimon2006-10-211-1/+1
| | | | | | | argument. This resulted in "pwritev,()" instead of the intended "pwritev()," in the output. MFC after: 3 days
* Avoid a potential hard sentence break.ru2006-10-211-1/+1
|
* o Fix typo.maxim2006-10-211-1/+1
| | | | | Obtained from: DragonFlyBSD MFC after: 1 week
* Workaround for (what seems to be) compiler error for gcc 3.4.6. Onkib2006-10-211-1/+4
| | | | | | | | | | | | | i386 with default optimization level (-O2), va_list pointer ap in the __v2printf function is advanced before the use. That cause argument shift and garbage instead last argument in printf-family when xprintf is activated. The nsswitch is easy victim of the bug. Reviewed by: kan Approved by: kan (mentor) MFC after: 1 week
* remove libc_r remanent.davidxu2006-10-201-2/+0
|
* Include sys/socket.h to know about sa_family_t.glebius2006-10-172-0/+2
|
* file == NULL:ache2006-10-161-9/+14
| | | | | | | | | | | | | Issue __sflush() before possible setting O_APPEND mode or ftruncate(), write to wrong place may occurse oserwise. Use simplified _sseek() to the start, if no O_APPEND is set, instead of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for file != NULL). Don't check seek error return, as original fopen() and freopen() never does. file != NULL: Add missing _sseek() to the end.
* Honor errno obtained from __sflagsache2006-10-161-1/+3
| | | | Move errno restoring after FUNLOCKFILE in one case
* Back out ftruncate error handling. There can some file tipesache2006-10-161-9/+2
| | | | f.e. sockets when ftruncate normally fail.
* Do real seekache2006-10-151-3/+11
| | | | | | | Catch ftruncate errors PR: 104295 Submitted by: ru (seek)
* Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++bde2006-10-141-2/+2
| | | | | | isn't broken, PR: 104425
* Don't inherit THR_FLAGS_NEED_SUSPEND for child process, child processdavidxu2006-10-141-0/+2
| | | | | only has one thread, setting the flag can cause the thread to be suspended and no another thread will resume it.
* Backout unblocking of signal if no threads can currently handle it.tegge2006-10-141-3/+2
| | | | | The check for pending signal after direct invocation of signal handler is sufficient.
* o Make _thr_umutex_init a function.davidxu2006-10-132-21/+23
| | | | | | o Eliminate unused parameter for some functions. o Convert type of first parameter to void * for _thr_umtx_wait and _thr_umtx_wake.
* Forgot to bump the document date.ru2006-10-131-1/+1
|
* Some word smithing adopted from the PR.ru2006-10-131-14/+14
| | | | | | | PR: docs/54451 Originally by: Andreas Fuchs Adopted by: jhb MFC after: 3 days
* Delay unblocking signal and restoring process signal mask until thetegge2006-10-131-19/+41
| | | | | | | | | thread signal mask has been updated to avoid stack overflow during signal bursts. Don't block signal forever if no threads can currently handle signal. Check for pending signal after direct invocation of signal handler.
* Delay setting wakeup time until after poll array has been allocated.tegge2006-10-131-20/+20
| | | | Blocking on the malloc spinlock would cause the select timeout to be lost.
* Sync thread jump table with libc and other thread libraries.tegge2006-10-131-4/+35
|
* Add missing comma.ru2006-10-131-1/+1
|
* Use type pthread_state for thread state.davidxu2006-10-131-1/+1
|
* Use normal parentheses.ru2006-10-121-5/+5
| | | | | | PR: docs/84549 Submitted by: Gary W. Swearingen MFC after: 3 days
* Don't say "rightmost" when referring to the least significant bit.ru2006-10-121-4/+5
| | | | | PR: docs/94803 MFC after: 3 days
* The pam_unix module also provides password management.ru2006-10-121-7/+8
| | | | | | PR: docs/93491 Submitted by: Lior Kadosh MFC after: 3 days
* More accurately document the implementation details of internal storage.ru2006-10-122-21/+23
| | | | PR: docs/82508
* Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).ru2006-10-121-0/+2
| | | | | PR: docs/57974 MFC after: 3 days
* Document S_IRWXU and permission bits for group/other.ru2006-10-121-2/+11
| | | | | PR: docs/57153 MFC after: 3 days
* Document what "msgsz" argument really denotes. [1]ru2006-10-121-4/+9
| | | | | | | | Don't say that "msgsz" can be less than 0, it cannot as it's unsigned (POSIX has the same bug). PR: docs/101145 [1] MFC after: 3 days
* Note that the value from getenv() should not be modified by applications.trhodes2006-10-121-1/+5
| | | | | PR: 60544 Reviewed by: ru
* fix bus error in newsyslog by making sure that fields in struct fpemukmacy2006-10-121-0/+1
| | | | that are accessed as 8 byte quantities are 8 byte aligned
* o Follow the trend and try to explain what the slow device is.maxim2006-10-111-3/+5
| | | | | | Not ideal but better than nothing. Obtained from: OpenBSD, NetBSD
* o From kern_prot.c::p_cansignal():maxim2006-10-101-2/+2
| | | | | | | | | | | | UNIX signalling semantics require that processes in the same session always be able to deliver SIGCONT to one another, overriding the remaining protections. Fix SIGCONT special case description similar to rev. 1.22 kill.2. PR: docs/58710 Submitted by: Ryan Younce MFC after: 2 weeks
* Fix markup in previous revision.ru2006-10-101-2/+5
|
* Add information on how to escape a literal colon in a value or name.trhodes2006-10-091-1/+5
| | | | PR: 101262
* unbreak build for sparc64 etc.kmacy2006-10-092-2/+3
| | | | | | | TARGET won't be defined on non subarches Approved by: rwatson (mentor) Reviewed by: jmg
* buildworld fixes for sun4vkmacy2006-10-093-1/+15
| | | | | | | not sure why pmap.c is included as it is unchanged Approved by: rwatson (mentor) Reviewed by: jmg
* Fix a regression: let natd load libalias modules before /usr is mountedpiso2006-10-089-9/+10
| | | | | | | renaming /lib/libalias_*.so.4 to /lib/libalias_*.so. Approved by: glebius Reviewed by: glebius, ru
* Fix TLS on sparc64 for statically and dynamically linked binarieskmacy2006-10-083-7/+14
| | | | | Approved by: rwatson (mentor) Reviewed by: jmg and marcel
* getenv.3: Put "is" on a line with other wordstrhodes2006-10-072-3/+3
| | | | | | | | getobjformat.3: "takes precedence over" is not an envrionment variable. PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp MFC after: 3 days
* Reword previous delta a little bit.trhodes2006-10-071-14/+8
| | | | Submitted by: ru
* Fix ambiguity in description. Note that the aio_return() system call shouldtrhodes2006-10-071-5/+9
| | | | | | | only be called once after failure or completion of an AIO request. Bump doc date while I'm here. Noticed by: Samy Al Bahra
* Add missing word "returns."trhodes2006-10-071-1/+1
| | | | Noticed by: Samy Al Bahra
* Remove libc_r support.davidxu2006-10-051-1/+0
|
* Performance: If the dir mode requested is "reasonable", then justkientzle2006-10-041-49/+89
| | | | | | restore it directly and skip chmod() during the post-extract fixup. In particular, bsdtar -xm now completely skips the post-extract fixup for directories, which produces a noticable speedup in that case.
* Automatically re-stir every 400000 callsache2006-10-041-2/+4
| | | | Obtained from: OpenBSD
* Fix build.ru2006-09-301-0/+1
|
* Removed libc_r build support.ru2006-09-301-6/+1
|
* Revise markup in recently added manpages.ru2006-09-305-56/+55
|
* Fix markup, language, function prototype, and example code.ru2006-09-301-35/+49
|
OpenPOWER on IntegriCloud