summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* 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)
* 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
* Add missing comma.ru2006-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
* 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 TLS on sparc64 for statically and dynamically linked binarieskmacy2006-10-082-3/+11
| | | | | 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
* Automatically re-stir every 400000 callsache2006-10-041-2/+4
| | | | Obtained from: OpenBSD
* Revise markup in recently added manpages.ru2006-09-304-46/+51
|
* Fix markup, language, function prototype, and example code.ru2006-09-301-35/+49
|
* Markup nit.ru2006-09-291-1/+1
|
* Fix typovd2006-09-261-2/+1
| | | | | | PR: docs/103666 Submitted by: vd Approved by: maxim
* Keep compatible parts in sync with OpenBSD v1.21, add some comments.ache2006-09-231-15/+7
| | | | No functional changes.
* Remove code #ifndef'ed in prev. commit to stay in sync with OpenBSDache2006-09-221-12/+0
| | | | v1.21 which just do that.
* Be more GNU compatible:ache2006-09-221-2/+5
| | | | | | don't be greedy on the GNU "::" extension when arg separated by whitespace and POSIX_CORRECTLY is set. From POSIX point of view this is unclear situation, so minimal assumption looks right.
* Do not declare __evOptMonoTime static in one place and externkan2006-09-221-0/+2
| | | | in another. GCC4 does not like that.
* Use correct type in va_arg argument.kan2006-09-212-2/+2
|
* remove thr_getscheduler, thr_setscheduler, thr_setschedparam,davidxu2006-09-211-9/+3
| | | | add rtprio_thread.
* o Don't fseek() on closed file.maxim2006-09-181-2/+2
| | | | | Submitted by: pgollucci@p6m7g8.com, Mark Costlow MFC after: 3 weeks
* Markup fixes.ru2006-09-1722-130/+142
|
* Remove more traces of Alpha.ru2006-09-171-4/+0
|
* Remove reference to T/TCP.joel2006-09-131-5/+2
| | | | Reviewed by: andre
* Fix a typobrian2006-09-101-2/+2
|
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-2/+5
| | | | | | | | Coverity CID 2292: Plug memory leak. Coverity CID 2291: Move function call before allocating storage to prevent memory leak on error. MFC after: 1 month
* Sync with NetBSD rev. 1.29mbr2006-09-091-0/+4
| | | | | | Coverity CID 2293: Fix memory leak. MFC after: 1 month
* Sync with NetBSD rev. 1.6 + 1.7mbr2006-09-091-4/+4
| | | | | | Coverity CID 779 + 780: Avoid NULL pointer dereference. MFC after: 1 month
* Sync with NetBSD rev. 1.20 + 1.21mbr2006-09-091-6/+11
| | | | | | | Coverity CID 2284: Fix multiple memory leaks. Coverity CID 710: Remove unreachable code. MFC after: 1 month
* Sync with NetBSD rev. 1.10mbr2006-09-091-0/+1
| | | | | | Coverity CID 2276: Don't leak memory on error. MFC after: 1 month
* Sync with NetBSD rev. 1.15mbr2006-09-091-0/+1
| | | | | | Coverity CID 2275: Avoid memory leak on error. MFC after: 1 month
* Sync part of NetBSD rev. 1.14mbr2006-09-091-1/+1
| | | | | | | Fix unpaired sigblock which possibly leaves the process with all signals blocked. MFC after: 2 weeks
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-1/+4
| | | | | | | Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure. Coverity CID 2283: Don't leak sys_auth on error. MFC after: 1 month
* Change the way base allocation is done for internal malloc datajasone2006-09-081-56/+93
| | | | | | | structures, in order to avoid the possibility of attempted recursive lock acquisition for chunks_mtx. Reported by: Slawa Olhovchenkov <slw@zxy.spb.ru>
OpenPOWER on IntegriCloud