* manual/stdio.texi (Hook Functions): Correct type of position
	parameter of seeker and fix fallout of the change in the text.

	* wcsmbs/tst-mbrtowc2.c: New file.
	* wcsmbs/Makefile (tests): Add tst-mbrtowc2.
This commit is contained in:
Ulrich Drepper 2005-09-25 18:26:41 +00:00
parent 2cf8a390dd
commit c1e3681907
4 changed files with 14 additions and 10 deletions

View file

@ -1,10 +1,14 @@
2005-09-25 Ulrich Drepper <drepper@redhat.com>
[BZ #278]
* manual/stdio.texi (Hook Functions): Correct type of position
parameter of seeker and fix fallout of the change in the text.
[BZ #714]
* iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of
left-over bytes and store them correctly.
* iconvdata/tst-iconv6.c: New file.
* iconvdata/Makefile (tests): Add tst-iconv6.
* wcsmbs/tst-mbrtowc2.c: New file.
* wcsmbs/Makefile (tests): Add tst-mbrtowc2.
2005-09-24 Roland McGrath <roland@redhat.com>

View file

@ -1,5 +1,8 @@
2005-09-25 Ulrich Drepper <drepper@redhat.com>
[BZ #811]
* locales/zh_CN: Fix date_fmt information.
* SUPPORTED (SUPPORTED-LOCALES): Add km_KH.
[BZ #826]

View file

@ -128,9 +128,9 @@ am_pm "<U4E0A><U5348>";"<U4E0B><U5348>"
t_fmt_ampm "<U0025><U0070><U0020><U0025><U0049><U65F6><U0025><U004D><U5206><U0025><U0053><U79D2>"
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
date_fmt "<U0025><U0059><U5E74><U0020><U0025><U006D><U6708><U0020>/
<U0025><U0064><U65E5><U0020><U0025><U0041><U0020><U0025><U0048><U003A>/
<U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A>"
END LC_TIME
LC_MESSAGES

View file

@ -5067,14 +5067,11 @@ You should define the function to perform seek operations on the cookie
as:
@smallexample
int @var{seeker} (void *@var{cookie}, fpos_t *@var{position}, int @var{whence})
int @var{seeker} (void *@var{cookie}, off64_t *@var{position}, int @var{whence})
@end smallexample
For this function, the @var{position} and @var{whence} arguments are
interpreted as for @code{fgetpos}; see @ref{Portable Positioning}. In
the GNU library, @code{fpos_t} is equivalent to @code{off_t} or
@code{long int}, and simply represents the number of bytes from the
beginning of the file.
interpreted as for @code{fgetpos}; see @ref{Portable Positioning}.
After doing the seek operation, your function should store the resulting
file position relative to the beginning of the file in @var{position}.