about summary refs log tree commit diff
path: root/manual
Commit message (Collapse)AuthorAgeFilesLines
...
* Update remaining copyright datesAllan McRae2014-01-011-1/+1
| | | | Update copyright years that are not handled by scripts/update-copyright.
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0145-45/+45
|
* Fix spelling in manual, as in bug 16376Ville Skytta2013-12-3015-24/+24
|
* Clarify that scanf does not use character classes. Fixes bug 12986Ondřej Bílka2013-12-231-1/+5
| | | | | Update documentation to say that scanf ("%[[:alpha:]]", c) does not read alphabetic characters but is parsed literarily.
* Update texinfo.tex, config.guess, config.sub from upstream.Joseph Myers2013-12-191-58/+96
| | | | | | | | | | | | | | This patch updates various miscellaneous files we take from upstream GNU sources (texinfo.texi, config.guess, config.sub - various others haven't changed upstream since we last updated them) to their current upstream versions. Tested x86_64. * manual/texinfo.tex: Update to version 2013-11-26.10 with trailing whitespace removed. * scripts/config.guess: Update to version 2013-11-29. * scripts/config.sub: Update to version 2013-10-01.
* Add _DEFAULT_SOURCE feature test macro.Joseph Myers2013-12-191-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a feature test macro _DEFAULT_SOURCE to enable the default set of header declarations. The intention is: if _DEFAULT_SOURCE is not used there is no change to the set of __USE_* macros glibc defines; if it's used on its own, and without compiler options such as -std=c99 that define __STRICT_ANSI__, again, there is no change; if it's used together with the macros it approximately (i.e., apart from __USE_POSIX_IMPLICITLY) implies (-D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L), again, there is no change. Otherwise, it causes the relevant features to be enabled, even if __STRICT_ANSI__, or another feature test macro, would cause them to be disabled. This macro deliberately bundles the POSIX.1-2008 (non-X/Open) functionality with the BSD/SVID/"misc" functionality, rather than defining a macro that gives just the latter, as many of the header cleanups resulting from removing _BSD_SOURCE and _SVID_SOURCE support are only possible when BSD/SVID/"misc" is always bundled with POSIX.1-2008. Tested x86_64. * include/features.h: Update comment documenting feature test macros. Mention _DEFAULT_SOURCE in comment. [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine. [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE, _BSD_SOURCE and _SVID_SOURCE. [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE && !_SVID_SOURCE]: Likewise. [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] (__USE_POSIX_IMPLICITLY): Define. [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] (_POSIX_SOURCE): Undefine and redefine. [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] (_POSIX_C_SOURCE): Likewise. * manual/creature.texi (_DEFAULT_SOURCE): Document. (Feature Test Macros): Update documentation of default features.
* Stop partial menu generation in INSTALL fileAllan McRae2013-12-191-0/+2
| | | | | | | | | | The commit d136c6dc resulted in menu text for the "Top" node being added to the INSTALL file on regeneration. As the full menu is not displayed in the plain text file anyway, suppress the menu section completely to avoid the additional text. Also regenerate the INSTALL file to commit a small formatting change introduced in the same commit.
* Add error reporting (via errno) to getauxval().Brooks Moses2013-12-181-1/+2
| | | | | | | | | | | | [BZ 15846] As discussed in the recent thread on my $EXEC_ORIGIN patch and in BZ 15846, getauxval() presently has no unambiguous way of reporting an error condition. It currently returns zero on error, but this may also be a valid result for some auxv entries. As there is no clear invalid result for all current and future auxv entries, this patch sets errno (following a suggestion in the BZ entry). This version of the patch also adds documentation and tests for the value-not-found conditions in getauxval().
* Add missing deftp to fix commit 4d84e6addd62bdc256627af.Ondřej Bílka2013-12-181-0/+2
|
* Update documentation after dropping PER_THREAD conditional.Ondřej Bílka2013-12-181-34/+6
| | | | | In probes documentation we described what happens when PER_THREAD is disabled which is now not relevant.
* Support TZ transition times < 00:00:00.Paul Eggert2013-12-171-1/+11
| | | | | | | | | | This is needed for version-3 tz-format files; it supports time stamps past 2037 for America/Godthab (the only entry in the tz database for which this change is relevant). * manual/time.texi (TZ Variable): Document transition times from -167:59:59 through -00:00:01. * time/tzset.c (tz_rule): Time of day is now signed. (__tzset_parse_tz): Parse negative time of day.
* Document TZ transition times >= 25:00:00.Paul Eggert2013-12-171-2/+25
| | | | | | * manual/time.texi (TZ Variable): Document transition times from 25:00:00 through 167:59:59. These are already supported, and this support will help with version-3 tz-format files.
* * manual/time.texi (TZ Variable): Modernize North America examplePaul Eggert2013-12-171-5/+6
| | | | to reflect current (i.e., 2007-and-later) daylight saving rules.
* * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.Paul Eggert2013-12-171-1/+1
|
* Remove __FAVOR_BSD.Joseph Myers2013-12-172-69/+7
|
* manual/memory.texi: Document aligned_alloc.Will Newton2013-12-161-16/+47
| | | | | | | | | | | | | | ChangeLog: 2013-12-16 Will Newton <will.newton@linaro.org> * manual/memory.texi (Malloc Examples): Mention aligned_alloc. (Aligned Memory Blocks): Add documentation for aligned_alloc and suggest it as an alternative to posix_memalign. (Hooks for Malloc): Document __memalign_hook is also called for aligned_alloc. (Summary of Malloc): Add summary for aligned alloc. Document __memalign_hook is also called for aligned_alloc.
* manual/memory.texi: Bring aligned allocation docs up to date.Will Newton2013-12-161-17/+44
| | | | | | | | | | | | | | | | | | | | | | | The current documentation suggests using memalign and valloc which are now considered obsolete, so suggest using posix_memalign instead. Also document the possible error return and errno values for memalign and posix_memalign and improve documentation of __memalign_hook. ChangeLog: 2013-12-16 Will Newton <will.newton@linaro.org> * manual/memory.texi (Malloc Examples): Clarify default alignment documentation. Suggest posix_memalign rather than memalign or valloc. (Aligned Memory Blocks): Remove suggestion to use memalign or valloc. Remove obsolete comment about BSD. Document memalign errno values and mark the function obsolete. Document posix_memalign returned error codes. Mark valloc as obsolete. (Hooks for Malloc): __memalign_hook is also called for posix_memalign and valloc. (Summary of Malloc): Add posix_memalign to function summary. __memalign_hook is also called for posix_memalign and valloc.
* BZ #15941: Fix INSTALL file regeneration failure with makeinfo 5.xSiddhesh Poyarekar2013-12-052-3/+8
| | | | | I have skipped regenerating the INSTALL file because we want to continue using the 4.x generator for now.
* Clarify documentation on how functions use timezone. Fixes bug 926.Paul Eggert2013-12-041-17/+21
|
* Document shm_open.Ondřej Bílka2013-12-021-0/+27
|
* Document libm accuracy goals.Joseph Myers2013-11-281-4/+74
|
* Document some libm error handling intents.Joseph Myers2013-11-281-7/+18
|
* Consolidate valloc/pvalloc code.Ondřej Bílka2013-11-201-3/+2
| | | | | To make malloc code more maintainable we make malloc and pvalloc share logic with memalign.
* Add systemtap probe markers for sin, cos, asin and acosSiddhesh Poyarekar2013-11-201-0/+42
|
* manual/memory.texi: Remove register keyword from examples.Will Newton2013-11-061-3/+3
| | | | | | | | | | | | The register keyword doesn't add any information to the examples and is not useful for modern compilers. ChangeLog: 2013-11-06 Will Newton <will.newton@linaro.org> * manual/memory.texi (Malloc Examples): Remove register keyword from examples.
* Fix description of random according to POSIX. Fixes bug 7003Bruno Haible2013-11-011-1/+1
|
* rename configure.in to configure.acMike Frysinger2013-10-302-5/+5
| | | | | | | Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix gethostbyname_r example. Fixes bug 2801.Ondřej Bílka2013-10-251-3/+5
|
* Acknowledge that fnmatch can fail. Fixes bug 14029.Ondřej Bílka2013-10-251-5/+2
|
* Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.Fabrice Bauzac2013-10-251-2/+2
|
* Mention FIPS 140-2 compliance and Sun RPC.Carlos O'Donell2013-10-191-1/+9
| | | | | | | | | | | | | | | | | | | | | | The Secure RPC implementation in glibc uses DES encryption during authentication of the user. This use of DES means that anyone using Sun RPC will likely not be compliant with FIPS 140-2 which forbids the use of DES. One solution to the compliance issue is to disable AUTH_DES and AUTH_KERB, both use DES, when in FIPS compliance mode. This is not a good idea because it disables all of the even mildly secure methods of authentication allowing only plain text methods. Instead we leave AUTH_DES and AUTH_KERB enabled in FIPS compliance mode and document the compliance issue in the manual. FIPS allows this, that is to say that if you can't fix it you must document the non-compliance. This commit adds documentation to that effect in the "DES encryption and password handling" section of the manual.
* Add systemtap markers to math function slow pathsSiddhesh Poyarekar2013-10-111-0/+98
| | | | | | | Add systemtap probes to various slow paths in libm so that application developers may use systemtap to find out if their applications are hitting these slow paths. We have added probes for pow, exp, log, tan, atan and atan2.
* Update gethostbyname2_r documentation. Fixes bug #156.Yogesh Chaudhari2013-10-081-8/+11
|
* Fix typo in manualSiddhesh Poyarekar2013-10-041-1/+1
|
* BZ #431 Fix manual of strncat/wcsncat.Ondřej Bílka2013-10-031-4/+4
|
* Revert "Remove references to non-existent content items in install.texi"Allan McRae2013-09-281-1/+1
| | | | | | | | This reverts commit 583c76a7ce305d24e0625a22caed317b3e001d91 which breaks building info pages during "make install". Conflicts: ChangeLog
* Remove references to non-existent content items in install.texiAllan McRae2013-09-271-1/+1
| | | | | These were left in when the installation section was split out into its own file.
* Update to canonical freemanuals.texi file.Roland McGrath2013-09-242-1/+5
|
* manual: Fix a typo in `POSIX Threads' sectionMaciej W. Rozycki2013-09-231-1/+1
|
* Add malloc probes for sbrk and heap resizing.Alexandre Oliva2013-09-201-0/+41
| | | | | | | | | | | | for ChangeLog * malloc/arena.c (new_heap): New memory_heap_new probe. (grow_heap): New memory_heap_more probe. (shrink_heap): New memory_heap_less probe. (heap_trim): New memory_heap_free probe. * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe. (systrim): New memory_sbrk_less probe. * manual/probes.texi: Document them.
* Add catch-all alloc retry probe.Alexandre Oliva2013-09-201-0/+12
| | | | | | | for ChangeLog * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe. * manual/probes.texi: Document it.
* Add probes for malloc retries.Alexandre Oliva2013-09-201-0/+22
| | | | | | | | | | | | for ChangeLog * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe. (__libc_realloc): Add memory_realloc_retry probe. (__libc_memalign): Add memory_memalign_retry probe. (__libc_valloc): Add memory_valloc_retry probe. (__libc_pvalloc): Add memory_pvalloc_retry probe. (__libc_calloc): Add memory_calloc_retry probe. * manual/probes.texi: Document them.
* Add probes for malloc arena changes.Alexandre Oliva2013-09-201-0/+60
| | | | | | | | | | | | | for ChangeLog * malloc/arena.c (get_free_list): Add probe memory_arena_reuse_free_list. (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait and memory_arena_reuse. (arena_get2) [!PER_THREAD]: Likewise. * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe memory_arena_reuse_realloc. * manual/probes.texi: Document them.
* Add probes for all changes to malloc options.Alexandre Oliva2013-09-201-1/+82
| | | | | | | | | for ChangeLog * malloc/malloc.c (__libc_free): Add memory_mallopt_free_dyn_thresholds probe. (__libc_mallopt): Add multiple memory_mallopt probes. * manual/probes.texi: Document them.
* Add first set of memory probes.Alexandre Oliva2013-09-203-2/+43
| | | | | | | | | | | for ChangeLog * malloc/malloc.c: Include stap-probe.h. (__libc_mallopt): Add memory_mallopt probe. * malloc/arena.c (_int_new_arena): Add memory_arena_new probe. * manual/probes.texi: New. * manual/Makefile (chapters): Add probes. * manual/threads.texi: Set next node.
* Clarify documentation cross-referenceAllan McRae2013-09-101-1/+2
| | | | | | | | | | | The end of the "Parsing of Floats" subsection currently reads: The GNU C Library also provides '_l' versions of these functions, which take an additional argument, the locale to use in conversion. *Note Parsing of Integers::. Split the final note as it is unrelated to the above comment and reference it with "See also" instead.
* Update pt_chown sections of the manualAllan McRae2013-09-101-8/+5
| | | | | | | The pt-chown binary is discussed in the "Running make install" section without clarification of the needed configure option. Clarify this and simplfy the discription which is already covered in the "Configuring and compiling" section.
* Fix typo in strcoll exampleAllan McRae2013-09-091-1/+1
|
* Remove --disable-versioning.Joseph Myers2013-09-041-5/+0
|
* Fix then/than typos.Ondřej Bílka2013-08-304-7/+7
|