From 79757ccb622d40f66882c81e0851e26156ee4752 Mon Sep 17 00:00:00 2001 From: Takahiro Itagaki Date: Tue, 1 Jun 2010 07:35:01 +0000 Subject: [PATCH] version 1.1.2. --- bin/Makefile | 4 ++++ bin/pg_reorg.c | 2 +- bin/pgut/pgut.c | 4 ++++ doc/index-ja.html | 4 ++-- doc/index.html | 4 ++-- doc/pg_reorg-ja.html | 2 +- doc/pg_reorg.html | 2 +- lib/Makefile | 4 ++++ lib/reorg.c | 2 +- 9 files changed, 20 insertions(+), 8 deletions(-) diff --git a/bin/Makefile b/bin/Makefile index 5e168c5..400a88f 100755 --- a/bin/Makefile +++ b/bin/Makefile @@ -24,3 +24,7 @@ top_builddir = ../../.. include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif + +# remove dependency to libxml2 and libxslt +LIBS := $(filter-out -lxml2, $(LIBS)) +LIBS := $(filter-out -lxslt, $(LIBS)) diff --git a/bin/pg_reorg.c b/bin/pg_reorg.c index 62754d1..777d6f8 100755 --- a/bin/pg_reorg.c +++ b/bin/pg_reorg.c @@ -8,7 +8,7 @@ * @brief Client Modules */ -const char *PROGRAM_VERSION = "1.1.1"; +const char *PROGRAM_VERSION = "1.1.2"; const char *PROGRAM_URL = "http://reorg.projects.postgresql.org/"; const char *PROGRAM_EMAIL = "reorg-general@lists.pgfoundry.org"; diff --git a/bin/pgut/pgut.c b/bin/pgut/pgut.c index 6d22530..e717265 100755 --- a/bin/pgut/pgut.c +++ b/bin/pgut/pgut.c @@ -351,6 +351,7 @@ parse_time(const char *value, time_t *time) tmp[len] = '\0'; /* parse for "YYYY-MM-DD HH:MI:SS" */ + memset(&tm, 0, sizeof(tm)); tm.tm_year = 0; /* tm_year is year - 1900 */ tm.tm_mon = 0; /* tm_mon is 0 - 11 */ tm.tm_mday = 1; /* tm_mday is 1 - 31 */ @@ -375,6 +376,9 @@ parse_time(const char *value, time_t *time) if (i > 1) tm.tm_mon -= 1; + /* determine whether Daylight Saving Time is in effect */ + tm.tm_isdst = -1; + *time = mktime(&tm); return true; diff --git a/doc/index-ja.html b/doc/index-ja.html index dd18f94..8d4471b 100755 --- a/doc/index-ja.html +++ b/doc/index-ja.html @@ -46,8 +46,8 @@ VACUUM を行うスクリプトが付属しており、"より良い vacuumdb"

ドキュメント

実行時間

diff --git a/doc/index.html b/doc/index.html index 4154f35..1503a51 100755 --- a/doc/index.html +++ b/doc/index.html @@ -48,8 +48,8 @@ where you can find download

Documentation

Execution time

diff --git a/doc/pg_reorg-ja.html b/doc/pg_reorg-ja.html index 0f26587..2b1a4f2 100755 --- a/doc/pg_reorg-ja.html +++ b/doc/pg_reorg-ja.html @@ -8,7 +8,7 @@ -

pg_reorg 1.1.1

+

pg_reorg 1.1.2