summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2011-09-16use .St here for ISO 8601 references; ok millertJason McIntyre
2011-09-16RFC-2822 -> RFC 2822Jason McIntyre
2011-09-14update vt100 example to vt200, as vt100 apparently is no longer in theJason McIntyre
termcap database; from Nils Anspach ok nicm
2011-09-05Preserve errno across calls to open the password database(s), soPhilip Guenthe
that errno isn't changed when a normal user (who can't open spwd.db) does a lookup. Problem pointed out by Tim van der Molen (tbvdm at xs4all.nl)
2011-09-05Switch sigreturn() to the normal syscall entry instead of int$80.Philip Guenthe
This was done for the sigreturn call in sigcode before 5.0. ok deraadt@ for post-5.0
2011-09-03knock out some useless Pp;Jason McIntyre
2011-09-03some minor tweaks;Jason McIntyre
2011-09-03make -column lists pretty again;Jason McIntyre
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
2011-08-31only one leap second is permitted, not two; from guentherJason McIntyre
2011-08-30in column lists, enforce the following ordering:Jason McIntyre
.Bl -column header1 header2 ... <Bl flags> mixing things up confuses mandoc, and adding flags in can screw up the list. this hopefully just makes things a bit safer (and more consistent). (one more bit of work left and all column lists should format how we want)
2011-08-19as with other list types, column lists generally do not need a Pp/-compactJason McIntyre
construct; this also sidesteps what seems to be a problem with mandoc, in that "-column -compact" seems to mess up the formatting. thus these pages should now have their lists formatted nicely (i.e. correctly aligned and with indent applied); as a side note, the fact that headers are not properly marked up is another issue which will be addressed separately (a mandoc fix is needed, i think). i have fudged a few of these to mark up properly, since the workaround does make sense for some pages. as another side note, i haven;t fixed man7, as i need to prepare a separate diff for kristaps and ingo.
2011-08-19Bring libc and libm in line with the compiler now that we no longer have aMark Kettenis
128-bit long double. Diff committed on behalf of martynas@
2011-08-1664-bitification went a bit too far here; sigset_t is 32-bit so using 64-bitMark Kettenis
loads and stores may trigger an alignment trap. Also fix issues where the code was assuming arguments were passed both in registers on the stack. This isn't ithe case for hppa64.
2011-07-29missing $ in rcs tag; from Daniel DickmanStuart Henderson
2011-07-26.Fn rmdir -> .Xr rmdir 2Matthew Dempsky
2011-07-26At some point we've switched to the VFP floating-point--unlike FPAMartynas Venckus
it actually stores floats in natural-endian--therefore the existing checks became wrong. Take into account __VFP_FP__, effectively bringing back the old behavior. This way it will work now, and in the future when some of our platforms are switched to FPA, where it's much faster.
2011-07-26Assumptions about floating-point word order based on BYTE_ORDER areMartynas Venckus
wrong on ARM. A more elegant solution is pending, but this is good for now. OK miod@.
2011-07-26__arm32__ -> __arm__, since our new compiler isn't defining theMartynas Venckus
former anymore. OK miod@.
2011-07-25tweak previous;Jason McIntyre
2011-07-25update HISTORY and SEE ALSO for all of string(3), together with variousIngo Schwarze
smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree
2011-07-24occured -> occurred;Jason McIntyre
2011-07-24Recent Single Unix will malloc memory if the second argument of realpath()Miod Vallat
is NULL, and third-party software is starting to rely upon this. Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor tweaks from nicm@ and yours truly.
2011-07-24Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@Todd C. Miller
2011-07-24fix linkat(2) prototypeMatthew Dempsky
2011-07-22Show (in the example) that < and > can be used multiple times; ok jmc@Otto Moerbeek
jasper@
2011-07-21- add a MALLOC_OPTIONS section header. the content is already there, but havingJasper Lievisse Adriaanse
a section will help people looking for just the MALLOC_OPTIONS. ok otto@ jmc@
2011-07-19Change "constructed by bitwise-inclusive OR'ing of flags from ..." toMatthew Dempsky
"constructed by bitwise-inclusive ORing flags from ..." Requested by jmc@
2011-07-19Change "If also flag is zero" to "If flag is also zero".Matthew Dempsky
Requested by jmc@
2011-07-19no need to mention xerox network stack here; ok claudioMike Belopuhov
2011-07-19tweak previous;Jason McIntyre
2011-07-19knock out some useless Pp;Jason McIntyre
2011-07-19Fix two typos pointed out by guenther@ during our libpthread microMatthew Dempsky
hackathon.
2011-07-19document that we don't currently handle UTIME_OMIT correctly for the mtime ↵Matthew Dempsky
timestamp
2011-07-18oops, forget a critical "not"Matthew Dempsky
2011-07-18Add (rough draft) documentation for fdopendir(3) and the 15 newMatthew Dempsky
XXXat(2) system calls from POSIX 2008. Editing will be done in tree. General style discussed with jmc@, schwarze@, and deraadt@ ok jmc@
2011-07-18Expose a bunch of new functionality from POSIX 2008: openat(2),Matthew Dempsky
fchmodat(2), fstatat(2), mkdirat(2), mkfifoat(2), mknodat(2), faccessat(2), fchownat(2), linkat(2), readlinkat(2), renameat(2), symlinkat(2), unlinkat(2), utimensat(2), futimens(2), and fdopendir(3). "Minor" libc bump. Tested in a bulk build by naddy@ Much help from guenther@, thib@, tedu@, oga@, and others. ok deraadt@, naddy@
2011-07-18Implement fdopendir(3) and refactor opendir(3) and fdopendir(3) to useMatthew Dempsky
a common __fdopendir() function. Also, take advantage of the new O_DIRECTORY and O_CLOEXEC flags in opendir(3). (Currently fdopendir(3) is commented out; it will be enabled shortly alongside openat(2) et al.) Tested by naddy@ in a bulk build. tweaks and ok guenther@; stupid POSIX nit pointed out by oga@
2011-07-14__opendir2, DTF_NODUP, and __DTF_READALL can die. struct direntTheo de Raadt
dd_flags is renamed to the placeholder position dd_unused so that we can spot "broken software" which assumes we have Jan Simon Pendry's union mounts (we don't have them, and won't have them ever again). __opendir2 question spotted by matthew verified to not break ports by sthen
2011-07-12Don't call munmap(2) if mmap(2) failed.Matthew Dempsky
ok deraadt@, tedu@
2011-07-12Clarify that exactly one of O_RDONLY, O_WRONLY, and O_RDWR must beMatthew Dempsky
specified when calling open(2).
2011-07-12document O_CLOEXEC and O_DIRECTORYMatthew Dempsky
2011-07-12on malloc flag S, set cache size to 0; will catch even moreOtto Moerbeek
use-after-free bugs; ok krw@ dlg@ pirofti@
2011-07-10Use stdio in getent() and reuse pfp from tcgetnext when calling getent().Todd C. Miller
Cuts cap_mkdb system time in half. OK nicm@
2011-07-09Minor function name tweaks.Nicholas Marriott
2011-07-09Instead of documenting all the wide string functions in wmemchr(3), addNicholas Marriott
individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt
2011-07-08Move fabs(3) manual page from libm to libc, for consistency. TheMartynas Venckus
modf(3), frexp(3), ldexp(3), fpclassify(3) pages are in libc, too.
2011-07-08Alias modfl to modf. This goes together with the previous bump.Martynas Venckus
2011-07-08Revert (leaving the complex math part alone). Some stuff is dependingMartynas Venckus
on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
2011-07-08tweak previous;Jason McIntyre
2011-07-08Kill weak `cerror' alias, it's colliding with the userland namespace. NoticedMiod Vallat
by guenther@ months ago, had to wait for a libc major bump.