* locale/programs/ld-paper.c (paper_output): Pretty printing.

	* sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
	* sysdeps/generic/utmp_file.c: Use LFS functions and types.
This commit is contained in:
Ulrich Drepper 2001-02-14 01:37:36 +00:00
parent 9adc32d814
commit be8c46fcef
4 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,7 @@
2001-02-13 Ulrich Drepper <drepper@redhat.com> 2001-02-13 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-paper.c (paper_output): Pretty printing.
* iconvdata/Makefile (modules): Add GBBIG5. * iconvdata/Makefile (modules): Add GBBIG5.
(distribute): Add gbbig5.c. (distribute): Add gbbig5.c.
* iconvdata/gconv-modules: Add entries for GBBIG5 module. * iconvdata/gconv-modules: Add entries for GBBIG5 module.
@ -19,7 +21,7 @@
* io/ftw64.c: Likewise. * io/ftw64.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
* sysdeps/generic/glob.c: Likewise. Convert results if gl_readdir * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
callback to dirent. Still allow compiling outside glibc. callback to dirent. Still allow compiling outside glibc.
* sysdeps/gnu/glob64.c: Define COMPILE_GLOB64. * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
* sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
@ -40,7 +42,7 @@
* include/unistd.h: Declare __ftruncate64. * include/unistd.h: Declare __ftruncate64.
* sysdeps/generic/utmp_file.c: Use LFS functions and type. * sysdeps/generic/utmp_file.c: Use LFS functions and types.
* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
instead of __lseek. instead of __lseek.

View File

@ -133,12 +133,12 @@ paper_output (struct localedef_t *locale, struct charmap_t *charmap,
iov[cnt].iov_len = sizeof (idx); iov[cnt].iov_len = sizeof (idx);
++cnt; ++cnt;
idx[cnt - 2] = iov[0].iov_len + iov[1].iov_len; idx[cnt - 2] = iov[cnt - 2].iov_len + iov[cnt - 1].iov_len;
iov[cnt].iov_base = &paper->height; iov[cnt].iov_base = &paper->height;
iov[cnt].iov_len = 4; iov[cnt].iov_len = 4;
++cnt; ++cnt;
idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len; idx[cnt - 2] = idx[cnt - 2] + iov[cnt - 1].iov_len;
iov[cnt].iov_base = &paper->width; iov[cnt].iov_base = &paper->width;
iov[cnt].iov_len = 4; iov[cnt].iov_len = 4;
++cnt; ++cnt;

View File

@ -1,3 +1,7 @@
2001-02-13 Ulrich Drepper <drepper@redhat.com>
* SUPPORTED: Add zh_CN.GBK.
2001-02-09 Andreas Jaeger <aj@suse.de> 2001-02-09 Andreas Jaeger <aj@suse.de>
* locales/en_IN: Add newline at end of file. * locales/en_IN: Add newline at end of file.

View File

@ -143,6 +143,7 @@ uk_UA KOI8-U
vi_VN UTF-8 vi_VN UTF-8
zh_CN GB2312 zh_CN GB2312
zh_CN.GB18030 GB18030 zh_CN.GB18030 GB18030
zh_CN.GBK GBK
zh_HK BIG5HKSCS zh_HK BIG5HKSCS
zh_TW BIG5 zh_TW BIG5
zh_TW.EUC-TW EUC-TW zh_TW.EUC-TW EUC-TW