This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITED][BZ #16375] Fix spelling in manual


Hi,

there was a patch in bugzilla that fixes spelling, it did not get to
libc-alpha because:


I could not get mail through to the libc-alpha list (was subscribed,
tried "global-allow-subscribe-...", kept getting "Sorry, I've been told
to reject your posts.") so I'm submitting this patch here, see comments
in it for more info.

Should we contact overseers or is problem somewhere else?


I reviewed these typo fixes and commited these, a simplified diff and a
patch with added bookkeeping follow:


ar_t *@var{needle}) \n-@code{wcswcs} is an deprecated alias for @code{wcsstr}.  
ar_t *@var{needle}) \n+@code{wcswcs} is a deprecated alias for @code{wcsstr}.  T
                                        ^^                                     
r which \n-@code{aiocbp->aio_fildes} is an descriptor, starting at the absolute 
r which \n+@code{aiocbp->aio_fildes} is a descriptor, starting at the absolute \
                                        ^^                                     
take \n-again and decided to not define an function exactly corresponding to \n 
take \n+again and decided to not define a function exactly corresponding to \n @
                                        ^^                                     
 \n-This element must be initialized to an nonzero value if the source \n charac
 \n+This element must be initialized to a nonzero value if the source \n charact
                                        ^^                                     
to wide \n-character string'') converts an NUL-terminated multibyte character \n
to wide \n+character string'') converts a NUL-terminated multibyte character \n 
                                        ^^                                     
f the one key string two \n-strings and an numerical argument.  The idea behind 
f the one key string two \n+strings and a numerical argument.  The idea behind t
                                        ^^                                     
lue allowed for the \n-specification of an positional parameter in a @code{print
lue allowed for the \n+specification of a positional parameter in a @code{printf
                                        ^^                                     
the program \n-should be able to define an precedence order of languages. \n @en
the program \n+should be able to define a precedence order of languages. \n @end
                                        ^^                                     
  \n-Note that the loop continues until an read error is detected or until a \n 
  \n+Note that the loop continues until a read error is detected or until a \n d
                                        ^^                                     
des an additional set of functions with an reentrant \n interface which provide 
des an additional set of functions with a reentrant \n interface which provide a
                                        ^^                                     
 as distinct objects \n-and the file is an shared memory object, this macro retu
 as distinct objects \n+and the file is a shared memory object, this macro retur
                                        ^^                                     
ed and @code{hsearch_r} was called with an so far \n unknown key and @var{action
ed and @code{hsearch_r} was called with a so far \n unknown key and @var{action}
                                        ^^                                     
char} is automatically promoted \n-into an value of type @code{int} when used as
char} is automatically promoted \n+into a value of type @code{int} when used as 
                                        ^^                                     
string @var{format} are passed \n-in as an value of type @code{va_list}. \n @end
string @var{format} are passed \n+in as a value of type @code{va_list}. \n @end 
                                        ^^                                     
string @var{format} are passed \n-in as an value of type @code{va_list}. \n @end
string @var{format} are passed \n+in as a value of type @code{va_list}. \n @end 
                                        ^^                                     
string @var{format} are passed \n-in as an value of type @code{va_list}. \n @end
string @var{format} are passed \n+in as a value of type @code{va_list}. \n @end 
                                        ^^                                     
string @var{format} are passed \n-in as an value of type @code{va_list}. \n @end
string @var{format} are passed \n+in as a value of type @code{va_list}. \n @end 
                                        ^^                                     
 scheduling: Any time a \n-process with a absolute priority of 0 and a process w
 scheduling: Any time a \n+process with an absolute priority of 0 and a process 
                                         ^                                     
              item \n-As one operand of a equality or comparison operator that a
              item \n+As one operand of an equality or comparison operator that 
                                         ^                                     
nto \n-the Riemann sphere.  Values with a infinite imaginary part are projected 
nto \n+the Riemann sphere.  Values with an infinite imaginary part are projected
                                         ^                                     
type}, @var{member}) \n-This expands to a integer constant expression that is th
type}, @var{member}) \n+This expands to an integer constant expression that is t
                                         ^                                     
ucture, including the members that were initally ignored. \n                    
ucture, including the members that were initially ignored. \n                   
                                            ^                                  
ion \n-which you can get with functions targetted to this purpose described in \
ion \n+which you can get with functions targeted to this purpose described in \n
                                            ^ ^                                
ers in the range allowed for storing or transfering.  SVID \n systems (and nowad
ers in the range allowed for storing or transferring.  SVID \n systems (and nowa
                                               ^^                              




diff --git a/ChangeLog b/ChangeLog
index 5d69020..fab41b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
+
+	* manual/arith.texi: Fix spelling.
+	* manual/charset.texi: Likewise.
+	* manual/errno.texi: Likewise.
+	* manual/filesys.texi: Likewise.
+	* manual/lang.texi: Likewise.
+	* manual/llio.texi: Likewise.
+	* manual/locale.texi: Likewise.
+	* manual/message.texi: Likewise.
+	* manual/resource.texi: Likewise.
+	* manual/search.texi: Likewise.
+	* manual/setjmp.texi: Likewise.
+	* manual/stdio.texi: Likewise.
+	* manual/string.texi: Likewise.
+	* manual/sysinfo.texi: Likewise.
+	* manual/time.texi: Likewise.
+
 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
 
 	* po/sl.po: New file.
diff --git a/NEWS b/NEWS
index 609be43..6a12220 100644
--- a/NEWS
+++ b/NEWS
@@ -23,7 +23,7 @@ Version 2.19
   16038, 16041, 16055, 16071, 16072, 16074, 16077, 16078, 16103, 16112,
   16143, 16144, 16146, 16150, 16151, 16153, 16167, 16172, 16195, 16214,
   16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316, 16330, 16337,
-  16338, 16356, 16369.
+  16338, 16356, 16369, 16375.
 
 * Slovenian translations for glibc messages have been contributed by the
   Translation Project's Slovenian team of translators.
diff --git a/manual/arith.texi b/manual/arith.texi
index 9cd6127..d394c07 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -2001,7 +2001,7 @@ number.  This angle is measured in the usual fashion and ranges from
 @comment ISO
 @deftypefunx {complex long double} cprojl (complex long double @var{z})
 These functions return the projection of the complex value @var{z} onto
-the Riemann sphere.  Values with a infinite imaginary part are projected
+the Riemann sphere.  Values with an infinite imaginary part are projected
 to positive infinity on the real axis, even if the real part is NaN.  If
 the real part is infinite, the result is equivalent to
 
diff --git a/manual/charset.texi b/manual/charset.texi
index 4042639..a3e2577 100644
--- a/manual/charset.texi
+++ b/manual/charset.texi
@@ -956,7 +956,7 @@ extensions that can help in some important situations.
 @comment ISO
 @deftypefun size_t mbsrtowcs (wchar_t *restrict @var{dst}, const char **restrict @var{src}, size_t @var{len}, mbstate_t *restrict @var{ps})
 The @code{mbsrtowcs} function (``multibyte string restartable to wide
-character string'') converts an NUL-terminated multibyte character
+character string'') converts a NUL-terminated multibyte character
 string at @code{*@var{src}} into an equivalent wide character string,
 including the NUL wide character at the end.  The conversion is started
 using the state information from the object pointed to by @var{ps} or
@@ -2485,7 +2485,7 @@ destination character sets, respectively.  If the characters all have the
 same size, the minimum and maximum values are the same.
 
 @item __stateful
-This element must be initialized to an nonzero value if the source
+This element must be initialized to a nonzero value if the source
 character set is stateful.  Otherwise it must be zero.
 @end table
 
diff --git a/manual/errno.texi b/manual/errno.texi
index 6c9fa86..b1bfbe9 100644
--- a/manual/errno.texi
+++ b/manual/errno.texi
@@ -1596,7 +1596,7 @@ are not used.
 @deftypefun void vwarn (const char *@var{format}, va_list @var{ap})
 The @code{vwarn} function is just like @code{warn} except that the
 parameters for the handling of the format string @var{format} are passed
-in as an value of type @code{va_list}.
+in as a value of type @code{va_list}.
 @end deftypefun
 
 @comment err.h
@@ -1617,7 +1617,7 @@ string is printed.
 @deftypefun void vwarnx (const char *@var{format}, va_list @var{ap})
 The @code{vwarnx} function is just like @code{warnx} except that the
 parameters for the handling of the format string @var{format} are passed
-in as an value of type @code{va_list}.
+in as a value of type @code{va_list}.
 @end deftypefun
 
 @comment err.h
@@ -1637,7 +1637,7 @@ are not used and that the program is exited even if @var{status} is zero.
 @deftypefun void verr (int @var{status}, const char *@var{format}, va_list @var{ap})
 The @code{verr} function is just like @code{err} except that the
 parameters for the handling of the format string @var{format} are passed
-in as an value of type @code{va_list}.
+in as a value of type @code{va_list}.
 @end deftypefun
 
 @comment err.h
@@ -1659,5 +1659,5 @@ string is printed.
 @deftypefun void verrx (int @var{status}, const char *@var{format}, va_list @var{ap})
 The @code{verrx} function is just like @code{errx} except that the
 parameters for the handling of the format string @var{format} are passed
-in as an value of type @code{va_list}.
+in as a value of type @code{va_list}.
 @end deftypefun
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 1cac453..459fb1f 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -2146,7 +2146,7 @@ In all other cases the result is zero.
 @comment POSIX
 @deftypefn Macro int S_TYPEISSHM (struct stat *@var{s})
 If the system implement POSIX shared memory objects as distinct objects
-and the file is an shared memory object, this macro returns a non-zero
+and the file is a shared memory object, this macro returns a non-zero
 value.  In all other cases the result is zero.
 @end deftypefn
 
diff --git a/manual/lang.texi b/manual/lang.texi
index ee04e23..7a55673 100644
--- a/manual/lang.texi
+++ b/manual/lang.texi
@@ -1212,7 +1212,7 @@ type of a particular structure member.
 @comment stddef.h
 @comment ISO
 @deftypefn {Macro} size_t offsetof (@var{type}, @var{member})
-This expands to a integer constant expression that is the offset of the
+This expands to an integer constant expression that is the offset of the
 structure member named @var{member} in the structure type @var{type}.
 For example, @code{offsetof (struct s, elem)} is the offset, in bytes,
 of the member @code{elem} in a @code{struct s}.
diff --git a/manual/llio.texi b/manual/llio.texi
index b6c9260..916edbd 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -2039,7 +2039,7 @@ this happens an error was encountered.
 
 The first @code{aiocbp->aio_nbytes} bytes from the buffer starting at
 @code{aiocbp->aio_buf} are written to the file for which
-@code{aiocbp->aio_fildes} is an descriptor, starting at the absolute
+@code{aiocbp->aio_fildes} is a descriptor, starting at the absolute
 position @code{aiocbp->aio_offset} in the file.
 
 If prioritized I/O is supported by the platform, the
diff --git a/manual/locale.texi b/manual/locale.texi
index 2f10fcd..a11c7d8 100644
--- a/manual/locale.texi
+++ b/manual/locale.texi
@@ -1236,5 +1236,5 @@ This function would normally be used like this:
   free (line);
 @end smallexample
 
-Note that the loop continues until an read error is detected or until a
+Note that the loop continues until a read error is detected or until a
 definitive (positive or negative) answer is read.
diff --git a/manual/message.texi b/manual/message.texi
index bb5b11b..804da10 100644
--- a/manual/message.texi
+++ b/manual/message.texi
@@ -967,7 +967,7 @@ If a catalog for a wanted language is not available it is not always the
 second best choice to fall back on the language of the developer and
 simply not translate any message.  Instead a user might be better able
 to read the messages in another language and so the user of the program
-should be able to define an precedence order of languages.
+should be able to define a precedence order of languages.
 @end itemize
 
 We can divide the configuration actions in two parts: the one is
@@ -1114,7 +1114,7 @@ only usable for certain, hardcoded language environments.  Instead the
 extended @code{gettext} interface should be used.
 
 These extra functions are taking instead of the one key string two
-strings and an numerical argument.  The idea behind this is that using
+strings and a numerical argument.  The idea behind this is that using
 the numerical argument and the first string as a key, the implementation
 can select using rules specified by the translator the right plural
 form.  The two string arguments then will be used to provide a return
diff --git a/manual/resource.texi b/manual/resource.texi
index 1ec7af2..5a1bb04 100644
--- a/manual/resource.texi
+++ b/manual/resource.texi
@@ -1045,7 +1045,7 @@ describes the only scheduling many programmers need to be concerned
 about.
 
 But just to be clear about the scope of this scheduling: Any time a
-process with a absolute priority of 0 and a process with an absolute
+process with an absolute priority of 0 and a process with an absolute
 priority higher than 0 are ready to run at the same time, the one with
 absolute priority 0 does not run.  If it's already running when the
 higher priority ready-to-run process comes into existence, it stops
diff --git a/manual/search.texi b/manual/search.texi
index efd3604..a714ba7 100644
--- a/manual/search.texi
+++ b/manual/search.texi
@@ -270,7 +270,7 @@ information.
 The weakest aspect of this function is that there can be at most one
 hashing table used through the whole program.  The table is allocated
 in local memory out of control of the programmer.  As an extension @theglibc{}
-provides an additional set of functions with an reentrant
+provides an additional set of functions with a reentrant
 interface which provide a similar interface but which allow to keep
 arbitrarily many hashing tables.
 
@@ -401,7 +401,7 @@ the failure.
 
 @table @code
 @item ENOMEM
-The table is filled and @code{hsearch_r} was called with an so far
+The table is filled and @code{hsearch_r} was called with a so far
 unknown key and @var{action} set to @code{ENTER}.
 @item ESRCH
 The @var{action} parameter is @code{FIND} and no corresponding element
diff --git a/manual/setjmp.texi b/manual/setjmp.texi
index f13ac7b..b3c0a7b 100644
--- a/manual/setjmp.texi
+++ b/manual/setjmp.texi
@@ -141,7 +141,7 @@ As the test expression of a selection or iteration
 statement (such as @samp{if}, @samp{switch}, or @samp{while}).
 
 @item
-As one operand of a equality or comparison operator that appears as the
+As one operand of an equality or comparison operator that appears as the
 test expression of a selection or iteration statement.  The other
 operand must be an integer constant expression.
 
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 7dcacd8..7957a2a 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -1670,7 +1670,7 @@ limit can be retrieved by the following constant.
 
 @defvr Macro NL_ARGMAX
 The value of @code{NL_ARGMAX} is the maximum value allowed for the
-specification of an positional parameter in a @code{printf} call.  The
+specification of a positional parameter in a @code{printf} call.  The
 actual value in effect at runtime can be retrieved by using
 @code{sysconf} using the @code{_SC_NL_ARGMAX} parameter @pxref{Sysconf
 Definition}.
@@ -2330,7 +2330,7 @@ Note that the corresponding narrow stream function takes fewer
 parameters.  @code{swprintf} in fact corresponds to the @code{snprintf}
 function.  Since the @code{sprintf} function can be dangerous and should
 be avoided the @w{ISO C} committee refused to make the same mistake
-again and decided to not define an function exactly corresponding to
+again and decided to not define a function exactly corresponding to
 @code{sprintf}.
 @end deftypefun
 
diff --git a/manual/string.texi b/manual/string.texi
index 1e45d9d..e59f18c 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -200,7 +200,7 @@ known size.
 @cindex parameter promotion
 Some of the memory and string functions take single characters as
 arguments.  Since a value of type @code{char} is automatically promoted
-into an value of type @code{int} when used as a parameter, the functions
+into a value of type @code{int} when used as a parameter, the functions
 are declared with @code{int} as the type of the parameter in question.
 In case of the wide character function the situation is similarly: the
 parameter type for a single wide character is @code{wint_t} and not
@@ -1773,7 +1773,7 @@ character of the substring, or a null pointer if no match was found.  If
 @comment wchar.h
 @comment XPG
 @deftypefun {wchar_t *} wcswcs (const wchar_t *@var{haystack}, const wchar_t *@var{needle})
-@code{wcswcs} is an deprecated alias for @code{wcsstr}.  This is the
+@code{wcswcs} is a deprecated alias for @code{wcsstr}.  This is the
 name originally used in the X/Open Portability Guide before the
 @w{Amendment 1} to @w{ISO C90} was published.
 @end deftypefun
@@ -2291,7 +2291,7 @@ that described in @xref{Cryptographic Functions}.
 
 To store or transfer binary data in environments which only support text
 one has to encode the binary data by mapping the input bytes to
-characters in the range allowed for storing or transfering.  SVID
+characters in the range allowed for storing or transferring.  SVID
 systems (and nowadays XPG compliant systems) provide minimal support for
 this task.
 
diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi
index 5df2a0f..5b6e8d0 100644
--- a/manual/sysinfo.texi
+++ b/manual/sysinfo.texi
@@ -226,7 +226,7 @@ associated data type are declared in the header file
 
 As a bonus, @code{uname} also gives some information identifying the
 particular system your program is running on.  This is the same information
-which you can get with functions targetted to this purpose described in
+which you can get with functions targeted to this purpose described in
 @ref{Host Identification}.
 
 
diff --git a/manual/time.texi b/manual/time.texi
index e7e8647..5b6e098 100644
--- a/manual/time.texi
+++ b/manual/time.texi
@@ -750,7 +750,7 @@ structure.  It uses the values of the other components to determine the
 calendar time; it's permissible for these components to have
 unnormalized values outside their normal ranges.  The last thing that
 @code{mktime} does is adjust the components of the @var{brokentime}
-structure, including the members that were initally ignored.
+structure, including the members that were initially ignored.
 
 If the specified broken-down time cannot be represented as a simple time,
 @code{mktime} returns a value of @code{(time_t)(-1)} and does not modify


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]