Commit Graph

1018 Commits

Author SHA1 Message Date
Joseph Myers c688b41960 Add _DEFAULT_SOURCE feature test macro.
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.
2013-12-19 13:32:42 +00:00
Allan McRae ee0a148a56 Stop partial menu generation in INSTALL file
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.
2013-12-19 11:54:06 +10:00
Brooks Moses b9ab448f98 Add error reporting (via errno) to getauxval().
[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().
2013-12-18 10:52:37 -08:00
Ondřej Bílka 51942fcadb Add missing deftp to fix commit 4d84e6addd. 2013-12-18 14:29:47 +01:00
Ondřej Bílka 4d84e6addd Update documentation after dropping PER_THREAD conditional.
In probes documentation we described what happens when PER_THREAD is
disabled which is now not relevant.
2013-12-18 11:18:19 +01:00
Paul Eggert 0748546f66 Support TZ transition times < 00:00:00.
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.
2013-12-17 10:18:10 -08:00
Paul Eggert 4480e934cc Document TZ transition times >= 25:00:00.
* 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.
2013-12-17 10:18:09 -08:00
Paul Eggert 69947401b9 * manual/time.texi (TZ Variable): Modernize North America example
to reflect current (i.e., 2007-and-later) daylight saving rules.
2013-12-17 10:18:09 -08:00
Paul Eggert 674762d904 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24. 2013-12-17 10:18:09 -08:00
Joseph Myers 7011c2622f Remove __FAVOR_BSD. 2013-12-17 18:05:57 +00:00
Will Newton 5764c27f8b manual/memory.texi: Document aligned_alloc.
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.
2013-12-16 14:51:39 +00:00
Will Newton 0a096e4487 manual/memory.texi: Bring aligned allocation docs up to date.
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.
2013-12-16 14:51:29 +00:00
Siddhesh Poyarekar d136c6dc1e BZ #15941: Fix INSTALL file regeneration failure with makeinfo 5.x
I have skipped regenerating the INSTALL file because we want to
continue using the 4.x generator for now.
2013-12-05 09:58:20 +05:30
Paul Eggert fbf964ae8b Clarify documentation on how functions use timezone. Fixes bug 926. 2013-12-04 13:21:27 +01:00
Ondřej Bílka 416e014536 Document shm_open. 2013-12-02 23:33:37 +01:00
Joseph Myers 7475aef5fa Document libm accuracy goals. 2013-11-28 22:31:03 +00:00
Joseph Myers c5df760908 Document some libm error handling intents. 2013-11-28 16:52:36 +00:00
Ondřej Bílka 10ad46bc65 Consolidate valloc/pvalloc code.
To make malloc code more maintainable we make malloc and pvalloc share
logic with memalign.
2013-11-20 15:46:02 +01:00
Siddhesh Poyarekar f3fd2628d8 Add systemtap probe markers for sin, cos, asin and acos 2013-11-20 07:46:48 +05:30
Will Newton e256c4214c manual/memory.texi: Remove register keyword from examples.
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.
2013-11-06 16:20:53 +00:00
Bruno Haible 8c5c2600af Fix description of random according to POSIX. Fixes bug 7003 2013-11-01 12:23:51 +01:00
Mike Frysinger cb8a6dbd17 rename configure.in to configure.ac
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>
2013-10-30 17:32:08 +10:00
Ondřej Bílka 151659f637 Fix gethostbyname_r example. Fixes bug 2801. 2013-10-25 19:17:58 +02:00
Ondřej Bílka ca42d35ea1 Acknowledge that fnmatch can fail. Fixes bug 14029. 2013-10-25 10:44:24 +02:00
Fabrice Bauzac 52e6d80122 Document that mmap() returns MAP_FAILED on error, as per the POSIX standard. 2013-10-25 13:51:58 +05:30
Carlos O'Donell 3d7dc513b7 Mention FIPS 140-2 compliance and Sun RPC.
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.
2013-10-19 00:11:31 -04:00
Siddhesh Poyarekar 10e1cf6b73 Add systemtap markers to math function slow paths
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.
2013-10-11 22:37:53 +05:30
Yogesh Chaudhari b86835ca92 Update gethostbyname2_r documentation. Fixes bug #156. 2013-10-08 21:42:42 +02:00
Siddhesh Poyarekar e16d221c06 Fix typo in manual 2013-10-04 17:21:32 +05:30
Ondřej Bílka b1fe1f2b83 BZ #431 Fix manual of strncat/wcsncat. 2013-10-03 19:54:23 +02:00
Allan McRae 3d2abe798d Revert "Remove references to non-existent content items in install.texi"
This reverts commit 583c76a7ce which
breaks building info pages during "make install".

Conflicts:
	ChangeLog
2013-09-28 13:10:59 +10:00
Allan McRae 583c76a7ce Remove references to non-existent content items in install.texi
These were left in when the installation section was split out
into its own file.
2013-09-27 14:47:56 +10:00
Roland McGrath 39bf0bb44c Update to canonical freemanuals.texi file. 2013-09-24 14:06:56 -07:00
Maciej W. Rozycki 107375acff manual: Fix a typo in `POSIX Threads' section 2013-09-23 21:15:45 +01:00
Alexandre Oliva 322dea0838 Add malloc probes for sbrk and heap resizing.
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.
2013-09-20 11:54:58 -03:00
Alexandre Oliva 655673f312 Add catch-all alloc retry probe.
for ChangeLog

	* malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
	* manual/probes.texi: Document it.
2013-09-20 11:50:51 -03:00
Alexandre Oliva 35fed6f15d Add probes for malloc retries.
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.
2013-09-20 11:50:08 -03:00
Alexandre Oliva 6999d38c95 Add probes for malloc arena changes.
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.
2013-09-20 11:48:45 -03:00
Alexandre Oliva 0653427fdb Add probes for all changes to malloc options.
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.
2013-09-20 11:42:28 -03:00
Alexandre Oliva 3ea5be5436 Add first set of memory probes.
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.
2013-09-20 11:10:54 -03:00
Allan McRae aa04af0078 Clarify documentation cross-reference
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.
2013-09-10 14:13:40 +10:00
Allan McRae cdfc721b8d Update pt_chown sections of the manual
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.
2013-09-10 14:11:39 +10:00
Allan McRae a9f5ce099c Fix typo in strcoll example 2013-09-09 22:56:38 +10:00
Joseph Myers 3f2e46a494 Remove --disable-versioning. 2013-09-04 15:25:42 +00:00
Ondřej Bílka f24a6d086b Fix then/than typos. 2013-08-30 18:10:31 +02:00
Florian Weimer 91ce40854d CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r
* sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
	member.
	* sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
	member.
	* sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
	* sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
	Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
	conditional.
	* sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
	GETDENTS_64BIT_ALIGNED.
	* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
	* manual/filesys.texi (Reading/Closing Directory): Document
	ENAMETOOLONG return value of readdir_r.  Recommend readdir more
	strongly.
	* manual/conf.texi (Limits for Files): Add portability note to
	NAME_MAX, PATH_MAX.
	(Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2013-08-16 09:40:34 +02:00
David S. Miller db24e6842d Update manual/contrib.texi
* manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
	entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
	Bilka.
2013-08-01 17:27:04 -07:00
Carlos O'Donell e4608715e6 CVE-2013-2207, BZ #15755: Disable pt_chown.
The helper binary pt_chown tricked into granting access to another
user's pseudo-terminal.

Pre-conditions for the attack:

 * Attacker with local user account
 * Kernel with FUSE support
 * "user_allow_other" in /etc/fuse.conf
 * Victim with allocated slave in /dev/pts

Using the setuid installed pt_chown and a weak check on whether a file
descriptor is a tty, an attacker could fake a pty check using FUSE and
trick pt_chown to grant ownership of a pty descriptor that the current
user does not own.  It cannot access /dev/pts/ptmx however.

In most modern distributions pt_chown is not needed because devpts
is enabled by default. The fix for this CVE is to disable building
and using pt_chown by default. We still provide a configure option
to enable hte use of pt_chown but distributions do so at their own
risk.
2013-07-21 15:39:55 -04:00
Andi Kleen 1717da59ae Add a configure option to enable lock elision and disable by default
Can be enabled with --enable-lock-elision=yes at configure time.
2013-07-02 08:46:55 -07:00
Joseph Myers cbe7d24bb4 Require GCC 4.4 or later to build glibc. 2013-06-26 23:10:48 +00:00
Joseph Myers 8fcb833a2b Update texinfo.tex. 2013-06-25 17:21:48 +00:00
Roland McGrath 12086fb483 Sort sysd-rules-patterns by descending pattern length. 2013-06-17 09:55:49 -07:00
Siddhesh Poyarekar adf23d2cca Add documentation for default pthread attribute functions 2013-06-15 12:27:41 +05:30
Joseph Myers 9c84384cc1 Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
Jeff Law 96945714ec [BZ #14256]
* manual/errno.texi (ESTALE): Update to account for more than
        just NFS file systems.
        * sysdeps/gnu/errlist.c: Regenerated.
2013-05-30 05:51:22 -06:00
Ben Norht 56b672e92e Doc fix for 'frexp' in arith.texi
It is the magnitude of the return value which lies
in [0.5, 1), not the return value itself.

---

2013-05-28  Ben North  <ben@redfrontdoor.org>

	* manual/arith.texi (frexp): It is the magnitude of the return
	value which lies in [0.5, 1), not the return value itself.
2013-05-28 17:20:24 -04:00
Thomas Schwinge 2b66ef5d55 * manual/platform.texi: Add missing @end deftypefun.
Fixup for commit d116b7c414.
2013-05-26 18:06:30 +02:00
Adhemerval Zanella d116b7c414 PowerPC: Program Priority Register support
This patch add inline functions to change the Program Priority Register
from ISA 2.05.
2013-05-24 13:29:30 -05:00
Edjunior Machado 9323d39bae PowerPC: Add functions for shared resources hints. 2013-05-23 10:32:47 -05:00
Carlos O'Donell e8dd47916f manual/message.texi: Fix english and clarify.
Rewrite the first paragraph to talk about users not humans,
and to use correct English.

Clarify that it is the mapping of messages to IDs that
impacts the design of the message translation API.

---

2013-05-07  Carlos O'Donell  <carlos@redhat.com>

	* manual/message.texi (Message Translation): Talk about users.
	Message to key mapping impacts design.
2013-05-07 12:33:44 -04:00
Roland McGrath 477925062f BZ#15361: Make aio_fsync not check open modes. 2013-04-12 13:11:20 -07:00
Thomas Schwinge 572676160d New <math.h> macro named issignaling to check for a signaling NaN (sNaN).
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-04-02 13:51:02 +02:00
Mark H Weaver 9ad027fb30 Fix docs for scalbn* and scalbl* functions
* manual/arith.texi (Normalization Functions): Fix prototypes
	for scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2013-03-24 19:52:10 -04:00
Siddhesh Poyarekar d3cfc668a3 Rename nptl.texi to threads.texi
The manual and its file names are about interfaces and not the
implementation details.
2013-03-19 14:28:20 +05:30
Carlos O'Donell ec4ff04d23 manual: Sort mallopt M_* parameters alphabetically
Sort the mallopt M_* parameters alphabetically and add comments for the
missing paramters.
2013-03-17 16:03:02 -04:00
Siddhesh Poyarekar bcda98809c Modify threads in nptl cindex to pthreads 2013-03-15 09:28:54 +05:30
Siddhesh Poyarekar 0409959c86 Add nptl manual chapter
This adds the base chapter for POSIX threads and also documentation
for thread-specific data, along with a note on its interaction with
C++11 thread_local variables.
2013-03-14 12:37:42 +05:30
Carlos O'Donell e98cdb38ee Remove mention of i386-pc-linux-gnu.
The GNU C Library does not support building for i386
therefore we remove mention of this configuration
from the INSTALL file.
2013-03-12 21:33:38 -04:00
Allan McRae faf6f8bca8 Fix menu ordering in socket.texi.
Match the order of (sub)sections in the menu to that in the file..
2013-02-24 21:06:00 +10:00
Allan McRae b4d1fd3370 Add @detailmenu to subsection node listing
Surround the "Detailed Node Listing" section of the info page menu with
@detailmenu flags to avoid confusing texinfo.  Resolves a large number
of warnings printed by texinfo-5.0.
2013-02-24 21:05:58 +10:00
Allan McRae 582a3cff13 Move @end statement to start of line
Fixes a warning with texinfo-5.0.
2013-02-21 22:40:24 +10:00
Carlos O'Donell 41f49342e9 manual: Remove frobnicate @pxref.
We remove the frobnicate @pxref in the "System Databases and Name
Service Switch" chapter. The @pxref doesn't make sense in the given
context.
2013-02-20 13:30:23 -05:00
Roland McGrath 8ded91fb37 Fix some errors in declarations in the manual. 2013-02-11 14:16:43 -08:00
Roland McGrath 550a0b89b4 Fix PF_LOCAL socket example sockaddr_un size calculation. 2013-02-08 14:55:50 -08:00
Mike Frysinger aba5e59604 manual: glob flags: fix sorting order
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger e557e9e519 manual: glob flags: mention the GNU extensions
The glob flags page reads as if this section is comprehensive when it
is not -- a lot of GNU extensions exist.  Point that out in the intro.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger 0428cec91e manual: glob: document the gl_flags field
The More Flags for Globbing section indirectly mentions gl_flags when
talking about GLOB_MAGCHAR.  Mention it explicitly when covering the
glob_t types.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:27 -05:00
H.J. Lu 740b3dbee8 Add --enable-hardcoded-path-in-tests configure option 2013-01-11 07:14:18 -08:00
Joseph Myers e6898b8d92 Update miscellaneous copyright dates. 2013-01-02 19:43:40 +00:00
Joseph Myers 568035b787 Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Joseph Myers f4cf5f2d8b Add script to update copyright notices and reformat some to facilitate its use. 2013-01-01 16:29:10 +00:00
Marcus Shawcroft cedb2a909d Fix AArch64 typo. 2012-12-18 09:51:55 +00:00
David S. Miller bc38c90626 Update manual/contrib.texi
* manual/contrib.texi (Contributors): Update entries for Hongjiu
	Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
2012-12-13 15:02:00 -05:00
Siddhesh Poyarekar 3c8b4190fe Move node Argp Helper Functions to follow Argp Parsing State
Resolves BZ #14246.
2012-12-11 09:02:37 +05:30
Siddhesh Poyarekar f70bfe80e2 Mention if terminating null is included in NAME_MAX/PATH_MAX
Fixes BZ #14872.
2012-12-11 09:01:02 +05:30
Benno Schulenberg c430c4afd6 BZ #14833: message.texi typo fixes 2012-12-08 12:35:35 +05:30
Allan McRae 029264d1fb Remove @hsep and @vsep usage from info pages
These cause an error when the info pages are build with texinfo>=4.13.90.
2012-12-04 09:39:34 +10:00
Joseph Myers f638872ab4 Fix typos in arith.texi. 2012-12-01 00:14:58 +00:00
Joseph Myers 8b748aed2a Support --with-pkgversion and --with-bugurl. 2012-11-09 22:13:45 +00:00
Roland McGrath 7514feb815 BZ#14815: Manual typo fix. 2012-11-07 10:21:59 -08:00
Thomas Schwinge b830319d49 [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
Joseph Myers 0eb6951257 Document general use of test-wrapper and test-wrapper-env. 2012-10-31 20:43:54 +00:00
Mike Frysinger 60457d8a25 manual: delete nested @cartouche
Putting @cartouche inside of @smallexample does not work with HTML output
as the former produces a <table> while the latter produces a <pre>.  You
cannot nest a <table> in a <pre> as the contents are no longer formatted.

Since it's entirely unnecessary, and none of the other examples do this,
just drop the cartouche.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-29 19:54:47 -04:00
Joseph Myers df381762dc Add cross-test-ssh.sh. 2012-10-25 19:17:45 +00:00
Siddhesh Poyarekar b741de23e2 Add note on free list pointers overwriting M_PERTURB bytes
Fixes BZ #12140.
2012-10-18 08:25:03 +05:30
Tulio Magno Quites Machado Filho 8ad11b9a9c Add __ppc_get_timebase_freq to ppc.h. 2012-09-25 16:53:14 -05:00
Joseph Myers 65cafb1c3f Use www.gnu.org as example hostname in manual/examples/inetcli.c. 2012-09-07 14:39:11 +00:00
John Tobey 01f49f59ce Fix description of carg branch cut (bug 13542) 2012-09-07 12:52:20 +10:00
Joseph Myers 1d3c857210 Use www.gnu.org as example hostname in manual (bug 10014). 2012-09-07 00:25:42 +00:00
Joseph Myers 4c23fed5d5 Fix pointers between nodes in manual (bug 10038). 2012-09-07 00:06:07 +00:00
Alexandre Oliva 20196a5e5e * manual/contrib.texi (Contributors): Fix typo. Complete entry. 2012-09-05 16:20:45 -03:00
Roland McGrath 696da85994 Fix typos in manual wrt syslog. 2012-08-20 12:44:59 -07:00
Jeff Law 42443a4792 * manual/stdio.texi (snprintf): Clarify handling of the trailing
null byte in the output string.
2012-08-13 13:12:18 -06:00
Florian Weimer 84b3fd8407 Rename __secure_getenv to secure_getenv 2012-07-25 19:46:22 +02:00
Joseph Myers b5982523b1 Document va_copy in preference to __va_copy. 2012-07-20 23:49:24 +00:00
Thomas Schwinge dc97c227c9 setcontext: Clarify termination when uc_link is the null pointer. 2012-07-17 10:05:55 +02:00
Roland McGrath 6c55cda37a BZ#14336: Manual spelling fixes. 2012-07-09 04:41:13 -07:00
Thomas Schwinge 4648c3819e manual/contrib.texi (Contributors): Sort alphabetically by last name. 2012-06-28 10:50:08 +02:00
Andreas Jaeger aac78a43b1 Add Samuel Thibault to manual/contrib.texi 2012-06-27 19:52:22 +02:00
Andreas Jaeger 06c5abbdf8 Update manual/contrib.texi
Update entry of Liubov Dmitrieva and add entries for Will Schmidt and Tulio Magno
Quites Machado Filho.
2012-06-15 09:14:17 +02:00
Roland McGrath 834f9b8d3c Make sure <build-dir>/manual directory gets created. 2012-06-14 09:44:27 -07:00
Roland McGrath eb55f5c21f BZ#14218: Reword argp_parse description slightly. 2012-06-11 16:21:44 -07:00
Tulio Magno Quites Machado Filho d9dc34cd56 Manual for platform-specific features and new __ppc_get_timebase inline.
[BZ #13743]
A new class of installed headers has been documented for low-level
platform-specific functionality.  PowerPC added the first instance with a
function to provide time base register access (__ppc_get_timebase).  This
is required for applications that measure time at high frequencies with
high precision that can't afford a syscall.
2012-06-04 13:46:37 -05:00
Joseph Myers 40e45bd5d6 Do not mention old Linux kernel versions in installation documentation. 2012-05-23 12:48:01 +00:00
Andreas Jaeger d8e272abb3 Rewrite manual/contrib.texi
* manual/contrib.texi: Completely rewritten. It contains now an
	alphabetical list of contributors and their contributions.
2012-05-21 20:33:57 +02:00
Richard Henderson c7683a6d02 Add <sys/auxv.h> and getauxval. 2012-05-20 10:40:35 -07:00
Andreas Jaeger e6bdb741d1 Fix INSTALL description for modified files in source dir 2012-05-18 20:30:51 +02:00
Andreas Jaeger e39745ffa0 Avoid compiler warnings in qsort/bsearch examples 2012-05-17 11:05:52 +02:00
Joseph Myers 6a3951a036 Update Texinfo version requirement. 2012-05-16 18:50:39 +00:00
Andreas Jaeger 6a4888ffd6 Do not build manual in source dir
[BZ #13750]
Do not build manual anymore in the source dir. Also clean up the
Makefile and remove rules that have been used previously
when we had a stand-alone Makefile which was obsoleted recently.
2012-05-14 22:01:08 +02:00
Andreas Jaeger 1bfb72913b Fix concat example
2012-05-14  Andreas Jaeger  <aj@suse.de>

	* manual/string.texi (Copying and Concatenation): Add missing
	variable in concat example.
	Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2012-05-14 15:30:30 +02:00
Andreas Jaeger 110c96ff29 Revert "Do not build manual in the source directory"
This reverts commit e3945c47bd.

reverting since it breaks building.
2012-05-04 17:09:56 +02:00
Andreas Jaeger 1261f5d10c Revert "Update install.texi for building manual in build dir"
This reverts commit 0d80ac6813.

Reverting since e3945c47bd gets reverted
as well.
2012-05-04 17:09:22 +02:00
Andreas Jaeger 0d80ac6813 Update install.texi for building manual in build dir 2012-05-04 13:28:33 +02:00
Andreas Jaeger e3945c47bd Do not build manual in the source directory
[BZ #13750]

Build the manual in the build directory and
not anymore in the source directory.
2012-05-04 13:13:57 +02:00
Andreas Jaeger 7ac30cc5f0 Move FAQ to wiki
The FAQ is now at http://sourceware.org/glibc/wiki/FAQ and not
anymore part of the repository.
2012-05-03 09:46:57 +02:00
Andreas Jaeger 4e681b5b7e Remove standalone manual support
[BZ #13739]
We don't need a separate manual distribution
tar ball anymore, remove support for it from manual/Makefile.
2012-04-23 20:44:49 +02:00
Petr Baudis 247c3ede39 Fix description of user provided write function
[BZ #2074]
	* stdio.texi (Hook Functions): The user provided writer function
	is not allowed to return -1.
2012-04-12 21:00:49 +02:00
Andreas Jaeger 4cfd80263a Fix times return value, CLK_TCK description
[BZ #2636]
	* manual/time.texi (Processor Time): Return type of times is
	elapsed real time since an arbitrary point in the past.
	(CPU Time): Move CLK_TCK from here...
	(Processor Time): ...to here.  Correct description.
	* manual/conf.texi (Constants for Sysconf): Correct description of
	_SC_CLK_TCK.
2012-04-11 09:20:50 +02:00
Andreas Jaeger 0387979329 Enhance d_namlen description
[BZ #6894]
    * manual/filesys.texi (Directory Entries): Mention that d_namlen
    is an optional BSD extension.
2012-04-09 21:10:13 +02:00
Andreas Jaeger 823fbbb41b Document additional fopen options
[BZ #10254]
The manual failed to explain the new (the first were introduced with
glibc 2.3 or so) parameters to fopen.
2012-04-09 21:07:51 +02:00
Carlos O'Donell c0ed9d7d2b Use sourceware.org for email and web references.
We use sourceware.org consistently to reference the
server that RedHat provides for community services
to open-source projects.

	[BZ # 13963]
	* manual/install.texi: Use sourceware.org.
2012-04-09 11:57:15 -04:00
Andreas Jaeger 6ab0fbfc84 Document return values of putenv and setenv
[BZ #10153]
	* manual/startup.texi (Environment Access): Describe return
	value for putenv and setenv.
2012-04-08 19:43:41 +02:00
Andreas Jaeger 7216225a73 Add generated file version.texi 2012-04-08 17:23:06 +02:00
Andreas Jaeger 61efba8cdf Describe DT_LNK
[BZ #6895]
	* manual/filesys.texi (Directory Entries): Add description for
	DT_LNK.
2012-04-08 17:04:47 +02:00
Andreas Jaeger 95c3f29a06 Fix DT_UNKNOWN description
[BZ #6890]
	* manual/filesys.texi (Directory Entries): Clarify that it's
	file system not operating system in the description of DT_UNKNOWN.
2012-04-08 15:17:55 +02:00
Andreas Jaeger 54472e9c32 Fix closelog description
[BZ #6578]
The manual mentioned a non-existing function initlog, replace it with
openlog.
2012-04-08 15:01:46 +02:00
Stephen Compall 624254b18a Better describe open arguments
[BZ #6649]
	* manual/llio.texi (Opening and Closing Files): Add cross
	reference to explain mode argument.
2012-04-08 14:53:13 +02:00
Robert Millan 4dad7bab2b Fix typo in manual
lseek refers to WHENCE when it really means OFFSET
2012-04-06 21:38:42 +02:00
Andreas Jaeger 67f60a26d4 Fix typo in manual
[BZ # 13938]
* manual/setjmp.texi (System V contexts): Fix sentence.
2012-04-03 09:43:38 +02:00
Joseph Myers 4535cd55e2 Don't document varargs.h. 2012-03-21 17:52:19 +00:00
Joseph Myers be22ce65d7 Remove NOTES. 2012-03-21 16:56:28 +00:00
Roland McGrath bb4e6db2f5 BZ#13846: manual/llio.texi (Memory-mapped I/O): Fix wrong function name. 2012-03-14 10:53:13 -07:00
Joseph Myers a7a93d5086 Clean up glibc manual references to "GNU system" (bug 6911). 2012-03-08 01:27:38 +00:00
Ulrich Drepper a4300c7a4d Remove distribute variable from Makefiles 2012-03-07 05:17:13 -05:00
Joseph Myers ed58a00f9b Reduce discussion of types to which size_t may be equivalent. 2012-03-05 15:03:57 +00:00
Roland McGrath d9a17c075e BZ #13792: License manual example source files under GPL. 2012-03-02 16:52:01 -08:00
Roland McGrath 7181dda8d5 BZ #13792: Add missing file from last commit. 2012-03-02 15:54:38 -08:00
Roland McGrath 01ae168d6d BZ#13792: Move timeval_subtract example function in manual into an examples/ C source file. 2012-03-02 15:49:49 -08:00
Joseph Myers 07e12bb391 Document properties of standard typedefs, not exact types. 2012-03-02 15:23:30 +00:00