summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-19Make sure the stack is properly aligned for using SSE instructions. WhileMark Kettenis
our in-tree compiler will emit code to do this at the start of main(), other compilers might not do that. ok miod@
2011-08-18where a man page has multiple links, only reference that pageJason McIntyre
once in SEE ALSO; also prefer Xr to Fn where relevant; diff started by Martin Pelikan
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-08-04Initial hppa64 code drop; not finished yet, but this at least allows us toMark Kettenis
build stuff. ok deraadt@
2011-08-03Add support for hppa64 based on the defaults for 64-bit HP-UX as found in theMark Kettenis
Configure script. ok deraadt@
2011-08-03Don't try to outsmart gcc inline assembler when saving the cpsr in theMiod Vallat
thread context, this used to work but loses bigtime with gcc4. ok drahn@ deraadt@
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-25Make huge constants actually long, so they don't overflow and becomeMartynas Venckus
infinite.
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-24tweak previous;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-24Document fma, fmaf, fmal, nexttoward, nexttowardf, nexttowardl.Martynas Venckus
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-21sundry tweakage;Jason McIntyre
2011-07-20- Make constants const.Martynas Venckus
- Fix aliasing issue in s_frexpf.c; spotted by gcc. Many other ones were fixed in NetBSD long ago, but this one was forgotten. It looks like recently they fixed it too.
2011-07-20For intermediate computations use single or extended counterpartsMartynas Venckus
where appropriate, to avoid precision loss.
2011-07-20Document complex math library.Martynas Venckus
2011-07-20- Replace digicert 2nd-level cert with the root which issued it.Stuart Henderson
Allows https checkouts from github to work. - Add digicert's other root certs. Fingerprints carefully checked against those in the built-in roots supplied with Mozilla. ok dcoppa@ jcs@
2011-07-19Handle F_DUPFD_CLOEXEC the same as we do F_DUPFD.Matthew Dempsky
ok guenther@
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-19Typo.Martynas Venckus
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-13Reintroduce lost local diff; detective work by matthew@; ok okan@ oga@Otto Moerbeek
all hail the more strict malloc S flag!
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-11Remove the GCC2 optimizer workaround for sparc. After switchingMartynas Venckus
to GCC4 it doesn't generate broken code anymore. From Brad. Tested and verified by myself.