Skip to content

Commit 14e9fc5

Browse files
committed
4.4.1
1 parent 24494a5 commit 14e9fc5

File tree

5 files changed

+38
-21
lines changed

5 files changed

+38
-21
lines changed

ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2009-03-14 Motoyuki Kasahara <m-kasahr@sra.co.jp>
2+
3+
* Version 4.4.1.
4+
5+
* configure.ac (AC_INIT): Set version to 4.4.1.
6+
* configure.ac (LIBEB_VERSION_INFO): Set LIBEB_VERSION_INFO to 14:0:1.
7+
8+
* eb/binary.c (eb_set_binary_mono_graphic, eb_set_binary_gray_graphic,
9+
eb_set_binary_wave, eb_set_binary_color_graphic): Apply large
10+
file support patch by Kazuhiro Ito.
11+
112
2009-02-28 Motoyuki Kasahara <m-kasahr@sra.co.jp>
213

314
* Version 4.4.

NEWS

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
バージョン 4.4.1 における主な変更点:
2+
3+
* 画像、音声データを扱う際に、データが格納されているファイルの大きさが
4+
2GB を正しく扱えなかったので修正した。
5+
16
バージョン 4.4 における主な変更点:
27

38
* 2GB を超える大きさのファイルを扱えるようにした。ただし、システム側で
49
対応していることが前提条件。
5-
* EBZIP形式の圧縮ファイルで、42949672961099511627775バイト (4GB1TB)
10+
* EBZIP形式の圧縮ファイルで、42949672961099511627775バイト (4GB1TB)
611
のファイルの表現方法を規定した。ebzip, ebunzip はこの規定に沿って圧縮
712
および伸張を行なう。
813
* ebzip, ebunzip がディレクトリ作成に失敗したとき、何もエラーメッセージ

configure

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.63 for eb 4.4.
3+
# Generated by GNU Autoconf 2.63 for eb 4.4.1.
44
#
55
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
66
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@@ -743,8 +743,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
743743
# Identity of this package.
744744
PACKAGE_NAME='eb'
745745
PACKAGE_TARNAME='eb'
746-
PACKAGE_VERSION='4.4'
747-
PACKAGE_STRING='eb 4.4'
746+
PACKAGE_VERSION='4.4.1'
747+
PACKAGE_STRING='eb 4.4.1'
748748
PACKAGE_BUGREPORT=''
749749

750750
ac_unique_file="eb/eb.c"
@@ -1512,7 +1512,7 @@ if test "$ac_init_help" = "long"; then
15121512
# Omit some internal or obsolete options to make the list less imposing.
15131513
# This message is too long to be a string in the A/UX 3.1 sh.
15141514
cat <<_ACEOF
1515-
\`configure' configures eb 4.4 to adapt to many kinds of systems.
1515+
\`configure' configures eb 4.4.1 to adapt to many kinds of systems.
15161516
15171517
Usage: $0 [OPTION]... [VAR=VALUE]...
15181518
@@ -1582,7 +1582,7 @@ fi
15821582

15831583
if test -n "$ac_init_help"; then
15841584
case $ac_init_help in
1585-
short | recursive ) echo "Configuration of eb 4.4:";;
1585+
short | recursive ) echo "Configuration of eb 4.4.1:";;
15861586
esac
15871587
cat <<\_ACEOF
15881588
@@ -1706,7 +1706,7 @@ fi
17061706
test -n "$ac_init_help" && exit $ac_status
17071707
if $ac_init_version; then
17081708
cat <<\_ACEOF
1709-
eb configure 4.4
1709+
eb configure 4.4.1
17101710
generated by GNU Autoconf 2.63
17111711
17121712
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1720,7 +1720,7 @@ cat >config.log <<_ACEOF
17201720
This file contains any messages produced by compilers while
17211721
running configure, to aid debugging if configure makes a mistake.
17221722
1723-
It was created by eb $as_me 4.4, which was
1723+
It was created by eb $as_me 4.4.1, which was
17241724
generated by GNU Autoconf 2.63. Invocation command line was
17251725
17261726
$ $0 $@
@@ -2438,7 +2438,7 @@ fi
24382438
24392439
# Define the identity of the package.
24402440
PACKAGE='eb'
2441-
VERSION='4.4'
2441+
VERSION='4.4.1'
24422442
24432443
24442444
cat >>confdefs.h <<_ACEOF
@@ -2581,7 +2581,7 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
25812581
25822582
25832583
2584-
LIBEB_VERSION_INFO=13:0:0
2584+
LIBEB_VERSION_INFO=14:0:1
25852585
25862586
25872587
EB_VERSION_MAJOR=4
@@ -15495,7 +15495,7 @@ exec 6>&1
1549515495
# report actual input values of CONFIG_FILES etc. instead of their
1549615496
# values after options handling.
1549715497
ac_log="
15498-
This file was extended by eb $as_me 4.4, which was
15498+
This file was extended by eb $as_me 4.4.1, which was
1549915499
generated by GNU Autoconf 2.63. Invocation command line was
1550015500
1550115501
CONFIG_FILES = $CONFIG_FILES
@@ -15558,7 +15558,7 @@ Report bugs to <bug-autoconf@gnu.org>."
1555815558
_ACEOF
1555915559
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1556015560
ac_cs_version="\\
15561-
eb config.status 4.4
15561+
eb config.status 4.4.1
1556215562
configured by $0, generated by GNU Autoconf 2.63,
1556315563
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1556415564

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
dnl *
22
dnl * Process this file with autoconf to produce a configure script.
33
dnl *
4-
AC_INIT(eb, 4.4)
4+
AC_INIT(eb, 4.4.1)
55
AC_CONFIG_SRCDIR(eb/eb.c)
66
AC_PREREQ(2.54)
77
AM_INIT_AUTOMAKE
88

99
dnl *
1010
dnl * Library version info.
1111
dnl *
12-
LIBEB_VERSION_INFO=13:0:0
12+
LIBEB_VERSION_INFO=14:0:1
1313
AC_SUBST(LIBEB_VERSION_INFO)
1414

1515
EB_VERSION_MAJOR=4

eb/binary.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ width=%d, height=%d)",
261261
context = &book->binary_context;
262262
context->code = EB_BINARY_MONO_GRAPHIC;
263263
context->zio = &book->subbook_current->text_zio;
264-
context->location = (position->page - 1) * EB_SIZE_PAGE + position->offset
265-
+ (width + 7) / 8 * (height - 1);
264+
context->location = ((off_t) position->page - 1) * EB_SIZE_PAGE
265+
+ position->offset + (width + 7) / 8 * (height - 1);
266266
context->size = (width + 7) / 8 * height;
267267
context->offset = 0;
268268
context->cache_offset = 0;
@@ -509,8 +509,8 @@ width=%d, height=%d)",
509509

510510
context->code = EB_BINARY_GRAY_GRAPHIC;
511511
context->zio = &book->subbook_current->text_zio;
512-
context->location = (position->page - 1) * EB_SIZE_PAGE + position->offset
513-
+ (width + 1) / 2 * (height - 1);
512+
context->location = ((off_t) position->page - 1) * EB_SIZE_PAGE
513+
+ position->offset + (width + 1) / 2 * (height - 1);
514514
context->size = (width + 1) / 2 * height;
515515
context->offset = 0;
516516
context->cache_offset = 0;
@@ -621,9 +621,9 @@ end_position={%d,%d})",
621621
goto failed;
622622
}
623623

624-
start_location = (start_position->page - 1) * EB_SIZE_PAGE
624+
start_location = ((off_t) start_position->page - 1) * EB_SIZE_PAGE
625625
+ start_position->offset;
626-
end_location = (end_position->page - 1) * EB_SIZE_PAGE
626+
end_location = ((off_t) end_position->page - 1) * EB_SIZE_PAGE
627627
+ end_position->offset;
628628

629629
context = &book->binary_context;
@@ -787,7 +787,8 @@ eb_set_binary_color_graphic(EB_Book *book, const EB_Position *position)
787787
context = &book->binary_context;
788788
context->code = EB_BINARY_COLOR_GRAPHIC;
789789
context->zio = &book->subbook_current->graphic_zio;
790-
context->location = (position->page - 1) * EB_SIZE_PAGE + position->offset;
790+
context->location = ((off_t) position->page - 1) * EB_SIZE_PAGE
791+
+ position->offset;
791792
context->offset = 0;
792793
context->cache_length = 0;
793794
context->cache_offset = 0;

0 commit comments

Comments
 (0)