This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Libc manual typo patch
- To: <libc-alpha at sources dot redhat dot com>
- Subject: Libc manual typo patch
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sun, 4 Nov 2001 00:48:43 +0000 (GMT)
This patch fixes a couple of typos in the glibc manual.
2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
* manual/string.texi, manual/examples/argp-ex2.c: Fix typos.
--- manual/string.texi.orig Fri May 25 11:29:40 2001
+++ manual/string.texi Sun Nov 4 00:43:51 2001
@@ -2137,7 +2137,7 @@
@comment GNU
@deftypefun {char *} basename (const char *@var{filename})
The GNU version of the @code{basename} function returns the last
-component of the path in @var{filename}. This function is the prefered
+component of the path in @var{filename}. This function is the preferred
usage, since it does not modify the argument, @var{filename}, and
respects trailing slashes. The prototype for @code{basename} can be
found in @file{string.h}. Note, this function is overriden by the XPG
--- manual/examples/argp-ex2.c.orig Tue Feb 22 08:48:51 2000
+++ manual/examples/argp-ex2.c Sun Nov 4 00:44:37 2001
@@ -15,7 +15,7 @@
but not in this small program). There are also two global
variables that argp knows about defined here,
ARGP_PROGRAM_VERSION and ARGP_PROGRAM_BUG_ADDRESS (they are
- global variables becuase they will almost always be constant
+ global variables because they will almost always be constant
for a given program, even if it uses different argument
parsers for various tasks). */
--
Joseph S. Myers
jsm28@cam.ac.uk