Message ID | 502f1736-4604-1d7b-e4a7-234ad38820e9@redhat.com |
---|---|
State | New |
Headers | show |
Series | Extended Char Intro: Use getwc in example (Bug 25626) | expand |
* Carlos O'Donell: > diff --git a/manual/charset.texi b/manual/charset.texi > index f6a980f6cb..9fd0166115 100644 > --- a/manual/charset.texi > +++ b/manual/charset.texi > @@ -186,7 +186,7 @@ are used: > @{ > wint_t c; > @dots{} > - while ((c = wgetc (fp)) != WEOF) > + while ((c = getwc (fp)) != WEOF) > @dots{} > @} > @end smallexample Okay.
On 3/5/20 1:30 AM, Florian Weimer wrote: > * Carlos O'Donell: > >> diff --git a/manual/charset.texi b/manual/charset.texi >> index f6a980f6cb..9fd0166115 100644 >> --- a/manual/charset.texi >> +++ b/manual/charset.texi >> @@ -186,7 +186,7 @@ are used: >> @{ >> wint_t c; >> @dots{} >> - while ((c = wgetc (fp)) != WEOF) >> + while ((c = getwc (fp)) != WEOF) >> @dots{} >> @} >> @end smallexample > > Okay. > Pushed.
diff --git a/manual/charset.texi b/manual/charset.texi index f6a980f6cb..9fd0166115 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -186,7 +186,7 @@ are used: @{ wint_t c; @dots{} - while ((c = wgetc (fp)) != WEOF) + while ((c = getwc (fp)) != WEOF) @dots{} @} @end smallexample