debian/0000755000000000000000000000000012167765230007177 5ustar debian/control0000644000000000000000000000643312167630754010612 0ustar Source: tokyocabinet Section: libs Priority: standard Maintainer: Tobias Frost Build-Depends: autotools-dev, chrpath, debhelper (>= 9), hardening-wrapper, libbz2-dev, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://fallabs.com/tokyocabinet/ Vcs-Browser: https://gitorious.org/tokyocabinet-debian/tokyocabinet-debian/trees/master Vcs-Git: http://git.gitorious.org/tokyocabinet-debian/tokyocabinet-debian.git Package: libtokyocabinet9 Architecture: any Multi-Arch: same Pre-Depends: multiarch-support, ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: Tokyo Cabinet Database Libraries [runtime] Tokyo Cabinet is an efficient database library like GDBM and NDBM. It features hash database and B+ tree database and is developed as the successor of QDBM, for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. . This is the runtime package for programs that use the Tokyo Cabinet database library. Package: libtokyocabinet-dbg Priority: extra Section: debug Architecture: any Multi-Arch: same Depends: libtokyocabinet9 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Tokyo Cabinet Database Libraries [debug] Tokyo Cabinet is an efficient database library like GDBM and NDBM. It features hash database and B+ tree database and is developed as the successor of QDBM, for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. . This is the debugging symbols for the Tokyo Cabinet database library. Package: libtokyocabinet-dev Section: libdevel Priority: extra Architecture: any Depends: libtokyocabinet9 (= ${binary:Version}), ${misc:Depends} Description: Tokyo Cabinet Database Libraries [development] Tokyo Cabinet is an efficient database library like GDBM and NDBM. It features hash database and B+ tree database and is developed as the successor of QDBM, for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. . This is the development package which contains headers and static libraries for the Tokyo Cabinet database library. Package: tokyocabinet-doc Architecture: all Section: doc Priority: optional Depends: ${misc:Depends} Description: Tokyo Cabinet Database Documentation Tokyo Cabinet is an efficient database library like GDBM and NDBM. It features hash database and B+ tree database and is developed as the successor of QDBM, for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. . This package contains documentation for all of the API's and utilities provided by Tokyo Cabinet. Package: tokyocabinet-bin Architecture: any Section: utils Priority: optional Depends: ${misc:Depends}, ${shlibs:Depends} Description: Tokyo Cabinet Database Utilities Tokyo Cabinet is an efficient database library like GDBM and NDBM. It features hash database and B+ tree database and is developed as the successor of QDBM, for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. . This is the Tokyo Cabinet Database utilities package. debian/changelog0000644000000000000000000002450212167632624011054 0ustar tokyocabinet (1.4.48-2) unstable; urgency=low * Fix "[Mayhem] Bug report on tokyocabinet-bin: tcucodec crashes with exit status 139": New patch 0012-fix_segv_tcbsdecode.patch (Closes: #716716) * tokyocabinet-dbg should be Multi-Arch:same -- Tobias Frost Fri, 12 Jul 2013 00:45:02 +0200 tokyocabinet (1.4.48-1) unstable; urgency=low * New upstream release * Enable hardening * Add watchfile (Closes: #697555) * Enable parallel build * Bump S-V to 3.9.4, no changes necessary -- Tobias Frost Wed, 15 May 2013 23:10:28 +0200 tokyocabinet (1.4.47-2) unstable; urgency=low * Package is now maintained in an new git repository. * Set package priority of libtokyocabinet-dev to extra. * Add Multi-Arch support * Set d/compat 9 * Cleanup d/rules -- Tobias Frost Mon, 30 Apr 2012 13:52:17 +0200 tokyocabinet (1.4.47-1) unstable; urgency=low * New maintainer. (Closes: #650830) * new upstream release (Closes: #578745) * Removed patch 0004-Cherry-pick-alignment-fixes-from-1.4.38.patch * Refreshed patch 0002-Avoid-LDENV-to-avoid-rpaths.patch * Rewrote 0006-disable-UBC-feature-on-hppa-since-it-causes-test- sui.patch -- Tobias Frost Mon, 12 Mar 2012 09:59:59 +0100 tokyocabinet (1.4.37-9) unstable; urgency=low * QA upload. * Fix for SIGBUS applied also for mips (Closes: #659554) * Re-enabled test suite on armel (Closes: #661685) * Lintian fixes for - no-homapege-field - copyright-refers-to-symlink-license * As upstream does not use sf.net for releases anymore, removing the watchfile. Adding a lintian override for this. * Bumped S-V to 3.9.3, only change required was to update debian/copyright * Do not install docs a second time under /usr/share/tokyocabinet. -- Tobias Frost Thu, 01 Mar 2012 11:14:14 +0100 tokyocabinet (1.4.37-8) unstable; urgency=low * QA upload. * Fix for SIGBUS on mipsel. (Closes: #659554) * Extending several package descriptions, as they were too short (fixes lintian informational warnings) * Renamed patches to have same naming scheme -- Tobias Frost Wed, 29 Feb 2012 08:30:02 +0100 tokyocabinet (1.4.37-7) unstable; urgency=low * QA upload * Orphaned for more than 14 days: Setting maintainer to QA. * Disable pthread support on s390x (Closes: #638625) * Do not use msync-syscall on hurd (Closes: #659510) * update -dbg Package description (Closes: #596502) * Fixes lintian warning "manpage-section-mismatch" * Fixes lintian warning "debug-package-should-be-priority-extra" on libtokyocabinet-dbg -- Tobias Frost Sat, 11 Feb 2012 19:22:42 +0100 tokyocabinet (1.4.37-6.1) unstable; urgency=low * Non-maintainer upload. * debian/control: switch Priority to standard (Closes: 609115) * debian/patches: + 0007-fix-FTBFS-with-binutils-gold.patch (Closes: 556496) -- Antonio Radici Sat, 23 Apr 2011 10:09:15 +0100 tokyocabinet (1.4.37-6) unstable; urgency=high * Woops, the test-suite was incorrectly disabled, enable it again. * Bump the urgency to high as this fixes the last RC issue of the package (unbuildable on s390). The RC bug isn't closed as it isn't really an tokyocabinet bug but likely a glibc one (see #555540). -- Pierre Habouzit Wed, 19 May 2010 23:36:27 +0200 tokyocabinet (1.4.37-5) unstable; urgency=low * Move to debhelper 7. * Switch to dpkg-source 3.0 (quilt) format * Disable pthread support on s390, hopefully fixing the test-suite for now. -- Pierre Habouzit Wed, 19 May 2010 23:21:30 +0200 tokyocabinet (1.4.37-4) unstable; urgency=high * Disable the test-suite on armel until the buildds kernels are fixed. -- Pierre Habouzit Sun, 07 Feb 2010 11:14:51 +0100 tokyocabinet (1.4.37-3) unstable; urgency=low * The "succeeding in contacting upstream helps" upload: + Add upstream patch Fix FTBFS on sparc. + Disable UCB on hppa (Closes: #531993) as upstream suggests. -- Pierre Habouzit Thu, 12 Nov 2009 12:59:30 +0100 tokyocabinet (1.4.37-2) unstable; urgency=low * Add patches/0004-Cherry-pick-alignment-fixes-from-1.4.38.patch to try to fix SIGBUSes on sparc and hppa. * Fix section for libtokyocabinet-dbg (Use debug). -- Pierre Habouzit Tue, 10 Nov 2009 21:57:05 +0100 tokyocabinet (1.4.37-1) unstable; urgency=low * New upstream release (Closes: #508835, #530966). * Add debian/watch file thanks to Chris Lamb. * Add patches/0003-Readd-alias-symbols-for-tcmpoolput-APIS.patch to avoid ABI bump. * Move tokyocabinet packaging to collab-maint. -- Pierre Habouzit Sun, 08 Nov 2009 16:12:00 +0100 tokyocabinet (1.4.23-1) unstable; urgency=low * New upstream release. * Update symbols file. -- Pierre Habouzit Sat, 30 May 2009 17:46:41 +0200 tokyocabinet (1.4.14-2) unstable; urgency=low * Upload to unstable this time. -- Pierre Habouzit Tue, 14 Apr 2009 00:16:18 +0200 tokyocabinet (1.4.14-1) experimental; urgency=low * New upstream release. * Add missing build-depend on libbz2-dev (Closes: #505317). * Fix package installation of manpages (Closes: #506948). * Bump soname (libtokyocabinet8). -- Pierre Habouzit Mon, 13 Apr 2009 14:22:02 +0200 tokyocabinet (1.3.15-2) experimental; urgency=low * Add patches/0003-remove-HOME-use-in-CPPFLAGS-and-friends.patch to make tokyocabinet build again. (Closes: #505171). -- Pierre Habouzit Tue, 11 Nov 2008 08:15:12 +0100 tokyocabinet (1.3.15-1) experimental; urgency=low * New upstream release (Closes: #489784). * Rename library packages for soname bump (3 -> 5). * Update symbols file. * Bump standards version to 3.8.0 (No changes required). -- Pierre Habouzit Mon, 03 Nov 2008 15:46:49 +0100 tokyocabinet (1.2.1-1) unstable; urgency=low * New upstream release. * Bump packages sonames (libtokyocabinet2 -> libtokyocabinet3). * Update symbols file. -- Pierre Habouzit Sun, 06 Apr 2008 11:20:19 +0200 tokyocabinet (1.1.15-2) unstable; urgency=low * debian/rules: use proper dbg package name. -- Pierre Habouzit Sun, 24 Feb 2008 14:11:24 +0100 tokyocabinet (1.1.15-1) unstable; urgency=low * New upstream release. * debian/control: + Remove soname from -dbg package name. + Rename libtokyocabinet1 into libtokyocabinet2. * Refresh patches: + drop 0003-debian-packaging-refresh-autotools.patch, upstream autotools are up to date. -- Pierre Habouzit Sun, 24 Feb 2008 11:25:01 +0100 tokyocabinet (1.1.10-2) unstable; urgency=high * libtokyocabinet-dev.install: wildcard /usr/include/*.h to install _every_ headers (Closes: 463057). * Bump urgency to high as 10-1 with a missing header migrated to testing and needs the missing header badly. -- Pierre Habouzit Tue, 29 Jan 2008 19:23:28 +0100 tokyocabinet (1.1.10-1) unstable; urgency=low * New upstream release. * Bump shlibs for new symbols. -- Pierre Habouzit Thu, 17 Jan 2008 23:09:15 +0100 tokyocabinet (1.1.7-1) unstable; urgency=low * New upstream release. * Bump shlibs for new symbols. -- Pierre Habouzit Thu, 03 Jan 2008 09:59:55 +0100 tokyocabinet (1.1.6-2) unstable; urgency=low * That was aimed at unstable in the first place… -- Pierre Habouzit Tue, 25 Dec 2007 18:53:37 +0100 tokyocabinet (1.1.6-1) experimental; urgency=low * New upstream release. * Refresh Avoid-LDENV-to-avoid-rpaths.patch for the new binary. * debian/libtokyocabinet1.symbols: + remove the debian revisions from the package versions. + update file with new symbols, bump shlibs. * debian/rules: + honour DEB_BUILD_OPTIONS=noopt. + honour DEB_BUILD_OPTIONS=nocheck. -- Pierre Habouzit Tue, 25 Dec 2007 10:18:01 +0100 tokyocabinet (1.1.4-1) experimental; urgency=low * New upstream release. * Bump Standards-Version to 3.7.3, no changes required. * Bump shlibs for new symbols. -- Pierre Habouzit Wed, 19 Dec 2007 11:55:27 +0100 tokyocabinet (1.1.3-1) experimental; urgency=low * New upstream release. * Add a symbols files (fake one from 1.1.0-2 for that matter). * Bump shlibs for new symbols. * Upload to experimental given my high confidence in the whole system. -- Pierre Habouzit Mon, 17 Dec 2007 11:39:46 +0100 tokyocabinet (1.1.0-2) unstable; urgency=low * Upload to unstable, stupid dch tricked me :P -- Pierre Habouzit Sat, 08 Dec 2007 11:25:45 +0100 tokyocabinet (1.1.0-1) experimental; urgency=low * New upstream release, bump shlibs for new symbol. * Add Avoid-LDENV-to-avoid-rpaths.patch to fix the build system avoiding rpaths. -- Pierre Habouzit Fri, 07 Dec 2007 11:32:13 +0100 tokyocabinet (1.0.9-2) experimental; urgency=low * Make the testsuite fail the build as it passes on i386. -- Pierre Habouzit Thu, 06 Dec 2007 12:56:08 +0100 tokyocabinet (1.0.9-1) experimental; urgency=low * New upstream release. * Run the testsuite. -- Pierre Habouzit Thu, 06 Dec 2007 10:06:22 +0100 tokyocabinet (1.0.8-1) unstable; urgency=low * New upstream release. * Remove pthread_mutex_rdlock patch: merged upstream. -- Pierre Habouzit Wed, 28 Nov 2007 22:31:49 +0100 tokyocabinet (1.0.6-3) unstable; urgency=low * debian/rules: don't let my maintainer tricks make the package FTBFS on an atobuilder. -- Pierre Habouzit Fri, 23 Nov 2007 23:36:51 +0100 tokyocabinet (1.0.6-2) unstable; urgency=low * (debian/rules): use --enable-swab so that db files are portable. * packaging: + use pristine-tar to store deltas. + to make pristine-tar use possible, have an upstream+patches branch that is used to generate a debian/patches queue. -- Pierre Habouzit Fri, 23 Nov 2007 21:46:04 +0100 tokyocabinet (1.0.6-1) unstable; urgency=low * Initial release (Closes: 452073). -- Pierre Habouzit Tue, 20 Nov 2007 10:08:42 +0100 debian/libtokyocabinet-dev.install0000644000000000000000000000042712145633331014520 0ustar debian/tmp/usr/include/*.h debian/tmp/usr/lib/*/libtokyocabinet.a debian/tmp/usr/lib/*/libtokyocabinet.so debian/tmp/usr/lib/*/pkgconfig/tokyocabinet.pc debian/tmp/usr/lib/*/pkgconfig/tokyocabinet.pc debian/tmp/usr/share/man/man3/tc* debian/tmp/usr/share/man/man3/tokyocabinet.3 debian/copyright0000644000000000000000000000526712145633331011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Tokyo Cabinet Upstream-Contact: Hatsuki Hirabayashi Comment: This package was dowloaded from http://tokyocabinet.sourceforge.net/ Files: debian/* Copyright: 2007-2010 Pierre Habouzit 2012 Tobias Frost Comment: The Debian Packaging is under the BSD license. License: BSD Copyright 2007-2010, Pierre Habouzit Copyright 2012, Tobias Frost All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: * Copyright: Copyright (C) 2006-2007 Mikio Hirabayashi License: LGPL-2.1+ Tokyo Cabinet is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License or any later version. Tokyo Cabinet is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with Tokyo Cabinet; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/watch0000644000000000000000000000026412145633331010222 0ustar version=3 http://fallabs.com/tokyocabinet/ (?:.*/|)tokyocabinet[_\-]?(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) # Bart Martens Tue, 29 Jan 2013 21:23:27 +0000 debian/rules0000755000000000000000000000164112145633331010251 0ustar #!/usr/bin/make -f # enable hardening export DEB_BUILD_HARDENING=1 # Support parallel build ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif CFLAGS += -g -Wall -Wextra $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2) LDFLAGS+= -Wl,-z,defs DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ $(if $(findstring $(DEB_BUILD_ARCH),s390 s390x),--disable-pthread) \ --enable-devel --enable-off64 --enable-swab \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" clean: dh $@ ! test -e Makefile || $(MAKE) distclean rm -f build-*-stamp override_dh_strip: dh_strip --dbg-package=libtokyocabinet-dbg debian/libtokyocabinet9.install0000644000000000000000000000005212145633331014027 0ustar debian/tmp/usr/lib/*/libtokyocabinet.so.* debian/patches/0000755000000000000000000000000012167471430010622 5ustar debian/patches/0011-fix-spelling-errors-in-manpage.patch0000644000000000000000000000473412145633331020153 0ustar # From: Tobias Frost # Subject: Fixing spelling error "default" in manpages Index: tokyocabinet-1.4.37/man/tcbdb.3 =================================================================== --- tokyocabinet-1.4.37.orig/man/tcbdb.3 2009-10-13 15:15:53.000000000 +0200 +++ tokyocabinet-1.4.37/man/tcbdb.3 2012-02-29 08:33:21.793889692 +0100 @@ -116,7 +116,7 @@ If successful, the return value is true, else, it is false. .RE .RS -The default comparison function compares keys of two records by lexical order. The functions `tccmplexical' (dafault), `tccmpdecimal', `tccmpint32', and `tccmpint64' are built\-in. Note that the comparison function should be set before the database is opened. Moreover, user\-defined comparison functions should be set every time the database is being opened. +The default comparison function compares keys of two records by lexical order. The functions `tccmplexical' (default), `tccmpdecimal', `tccmpint32', and `tccmpint64' are built\-in. Note that the comparison function should be set before the database is opened. Moreover, user\-defined comparison functions should be set every time the database is being opened. .RE .RE .PP Index: tokyocabinet-1.4.37/man/tcutil.3 =================================================================== --- tokyocabinet-1.4.37.orig/man/tcutil.3 2009-10-13 15:15:53.000000000 +0200 +++ tokyocabinet-1.4.37/man/tcutil.3 2012-02-29 08:33:52.570297943 +0100 @@ -1367,7 +1367,7 @@ The return value is the new tree object. .RE .RS -The default comparison function compares keys of two records by lexical order. The functions `tccmplexical' (dafault), `tccmpdecimal', `tccmpint32', and `tccmpint64' are built\-in. +The default comparison function compares keys of two records by lexical order. The functions `tccmplexical' (default), `tccmpdecimal', `tccmpint32', and `tccmpint64' are built\-in. .RE .RE .PP @@ -2363,7 +2363,7 @@ The return value is the new on\-memory tree database object. .RE .RS -The default comparison function compares keys of two records by lexical order. The functions `tccmplexical' (dafault), `tccmpdecimal', `tccmpint32', and `tccmpint64' are built\-in. The object can be shared by plural threads because of the internal mutex. +The default comparison function compares keys of two records by lexical order. The functions `tccmplexical' (default), `tccmpdecimal', `tccmpint32', and `tccmpint64' are built\-in. The object can be shared by plural threads because of the internal mutex. .RE .RE .PP debian/patches/0007-fix-FTBFS-with-binutils-gold.patch0000644000000000000000000000313712145633331017402 0ustar From 410bd3316f71bcf776687dd2073185cf791a7715 Mon Sep 17 00:00:00 2001 From: Antonio Radici Date: Sat, 23 Apr 2011 14:53:11 +0100 Subject: [PATCH] fix FTBFS with binutils-gold --- Makefile.in | 33 ++++++++++++++++----------------- 1 files changed, 16 insertions(+), 17 deletions(-) Index: tokyocabinet-1.4.47/Makefile.in =================================================================== --- tokyocabinet-1.4.47.orig/Makefile.in 2012-03-05 20:45:19.000000000 +0100 +++ tokyocabinet-1.4.47/Makefile.in 2012-03-05 20:52:33.865501252 +0100 @@ -717,7 +717,7 @@ tcumttest : tcumttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet -lpthread tcucodec : tcucodec.o $(LIBRARYFILES) @@ -729,7 +729,7 @@ tchmttest : tchmttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet -lpthread tchmgr : tchmgr.o $(LIBRARYFILES) @@ -741,7 +741,7 @@ tcbmttest : tcbmttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet -lpthread tcbmgr : tcbmgr.o $(LIBRARYFILES) @@ -753,7 +753,7 @@ tcfmttest : tcfmttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet -lpthread tcfmgr : tcfmgr.o $(LIBRARYFILES) debian/patches/0005-Pick-patch-from-upstream-to-fix-unaligned-accesses-o.patch0000644000000000000000000002051012145633331024174 0ustar From 24d5c34e6289ca2cddb07e8f8fdde0391283af76 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Thu, 12 Nov 2009 12:53:07 +0100 Subject: [PATCH 5/6] Pick patch from upstream to fix unaligned accesses on sparc. 2009-11-11 Mikio Hirabayashi * tcutil.h (TCALIGNOF, tcgeneric_t): new macros. * tcutil.h (TCALIGNPAD): the alignment is now calculated by the generic union. --- myconf.h | 2 +- tcbdb.c | 2 +- tcfdb.c | 2 +- tchdb.c | 2 +- tcucodec.c | 61 ++++++++++++++++++++++++++++++++++------------------------- tcutil.c | 4 +- tcutil.h | 8 ++++++- 7 files changed, 48 insertions(+), 33 deletions(-) diff --git a/myconf.h b/myconf.h index 4e63b68..114f2a9 100644 --- a/myconf.h +++ b/myconf.h @@ -255,7 +255,7 @@ *************************************************************************************************/ -#define sizeof(a) ((int)sizeof(a)) +#define sizeof(TC_a) ((int)sizeof(TC_a)) #if defined(_SYS_FREEBSD_) || defined(_SYS_NETBSD_) || defined(_SYS_OPENBSD_) #define nan(TC_a) strtod("nan", NULL) diff --git a/tcbdb.c b/tcbdb.c index 82e240f..64a68f0 100644 --- a/tcbdb.c +++ b/tcbdb.c @@ -1643,7 +1643,7 @@ bool tcbdbputproc(TCBDB *bdb, const void *kbuf, int ksiz, const void *vbuf, int procop.proc = proc; procop.op = op; BDBPDPROCOP *procptr = &procop; - void *stack[(TCNUMBUFSIZ*2)/sizeof(void *)+1]; + tcgeneric_t stack[(TCNUMBUFSIZ*2)/sizeof(tcgeneric_t)+1]; char *rbuf; if(ksiz <= sizeof(stack) - sizeof(procptr)){ rbuf = (char *)stack; diff --git a/tcfdb.c b/tcfdb.c index 4743993..67af5ab 100644 --- a/tcfdb.c +++ b/tcfdb.c @@ -1294,7 +1294,7 @@ bool tcfdbputproc(TCFDB *fdb, int64_t id, const void *vbuf, int vsiz, TCPDPROC p procop.proc = proc; procop.op = op; FDBPDPROCOP *procptr = &procop; - void *stack[(FDBDEFWIDTH+TCNUMBUFSIZ)/sizeof(void *)+1]; + tcgeneric_t stack[(FDBDEFWIDTH+TCNUMBUFSIZ)/sizeof(tcgeneric_t)+1]; char *rbuf; if(vbuf){ if(vsiz <= sizeof(stack) - sizeof(procptr)){ diff --git a/tchdb.c b/tchdb.c index bbdfaed..8e42238 100644 --- a/tchdb.c +++ b/tchdb.c @@ -1668,7 +1668,7 @@ bool tchdbputproc(TCHDB *hdb, const void *kbuf, int ksiz, const void *vbuf, int procop.proc = proc; procop.op = op; HDBPDPROCOP *procptr = &procop; - void *stack[(TCNUMBUFSIZ*2)/sizeof(void *)+1]; + tcgeneric_t stack[(TCNUMBUFSIZ*2)/sizeof(tcgeneric_t)+1]; char *rbuf; if(ksiz <= sizeof(stack) - sizeof(procptr)){ rbuf = (char *)stack; diff --git a/tcucodec.c b/tcucodec.c index 7e6438f..50ad921 100644 --- a/tcucodec.c +++ b/tcucodec.c @@ -1271,33 +1271,42 @@ static int procconf(int mode){ printf("myconf(bigend): %d\n", TCBIGEND); printf("myconf(usezlib): %d\n", TCUSEZLIB); printf("myconf(usebzip): %d\n", TCUSEBZIP); - printf("sizeof(bool): %d\n", sizeof(bool)); - printf("sizeof(char): %d\n", sizeof(char)); - printf("sizeof(short): %d\n", sizeof(short)); - printf("sizeof(int): %d\n", sizeof(int)); - printf("sizeof(long): %d\n", sizeof(long)); - printf("sizeof(long long): %d\n", sizeof(long long)); - printf("sizeof(float): %d\n", sizeof(float)); - printf("sizeof(double): %d\n", sizeof(double)); - printf("sizeof(long double): %d\n", sizeof(long double)); - printf("sizeof(void *): %d\n", sizeof(void *)); - printf("sizeof(intptr_t): %d\n", sizeof(intptr_t)); - printf("sizeof(size_t): %d\n", sizeof(size_t)); - printf("sizeof(time_t): %d\n", sizeof(time_t)); - printf("sizeof(off_t): %d\n", sizeof(off_t)); - printf("sizeof(ino_t): %d\n", sizeof(ino_t)); - printf("sizeof(wchar_t): %d\n", sizeof(wchar_t)); - printf("sizeof(sig_atomic_t): %d\n", sizeof(sig_atomic_t)); - printf("macro(CHAR_MAX): %llu\n", (unsigned long long)CHAR_MAX); - printf("macro(SHRT_MAX): %llu\n", (unsigned long long)SHRT_MAX); - printf("macro(INT_MAX): %llu\n", (unsigned long long)INT_MAX); - printf("macro(LONG_MAX): %llu\n", (unsigned long long)LONG_MAX); - printf("macro(LLONG_MAX): %llu\n", (unsigned long long)LLONG_MAX); - printf("macro(FLT_MAX): %g\n", (double)FLT_MAX); - printf("macro(DBL_MAX): %g\n", (double)DBL_MAX); - printf("macro(LDBL_MAX): %Lg\n", (long double)LDBL_MAX); - printf("macro(PATH_MAX): %llu\n", (unsigned long long)PATH_MAX); + printf("type(bool): size=%d align=%d\n", sizeof(bool), TCALIGNOF(bool)); + printf("type(char): size=%d align=%d max=%llu\n", + sizeof(char), TCALIGNOF(char), (unsigned long long)CHAR_MAX); + printf("type(short): size=%d align=%d max=%llu\n", + sizeof(short), TCALIGNOF(short), (unsigned long long)SHRT_MAX); + printf("type(int): size=%d align=%d max=%llu\n", + sizeof(int), TCALIGNOF(int), (unsigned long long)INT_MAX); + printf("type(long): size=%d align=%d max=%llu\n", + sizeof(long), TCALIGNOF(long), (unsigned long long)LONG_MAX); + printf("type(long long): size=%d align=%d max=%llu\n", + sizeof(long long), TCALIGNOF(long long), (unsigned long long)LLONG_MAX); + printf("type(float): size=%d align=%d max=%g\n", + sizeof(float), TCALIGNOF(float), (double)FLT_MAX); + printf("type(double): size=%d align=%d max=%g\n", + sizeof(double), TCALIGNOF(double), (double)DBL_MAX); + printf("type(long double): size=%d align=%d max=%Lg\n", + sizeof(long double), TCALIGNOF(long double), (long double)LDBL_MAX); + printf("type(void *): size=%d align=%d\n", sizeof(void *), TCALIGNOF(void *)); + printf("type(intptr_t): size=%d align=%d max=%llu\n", + sizeof(intptr_t), TCALIGNOF(intptr_t), (unsigned long long)INTPTR_MAX); + printf("type(size_t): size=%d align=%d max=%llu\n", + sizeof(size_t), TCALIGNOF(size_t), (unsigned long long)SIZE_MAX); + printf("type(ptrdiff_t): size=%d align=%d max=%llu\n", + sizeof(ptrdiff_t), TCALIGNOF(ptrdiff_t), (unsigned long long)PTRDIFF_MAX); + printf("type(wchar_t): size=%d align=%d max=%llu\n", + sizeof(wchar_t), TCALIGNOF(wchar_t), (unsigned long long)WCHAR_MAX); + printf("type(sig_atomic_t): size=%d align=%d max=%llu\n", + sizeof(sig_atomic_t), TCALIGNOF(sig_atomic_t), (unsigned long long)SIG_ATOMIC_MAX); + printf("type(time_t): size=%d align=%d\n", sizeof(time_t), TCALIGNOF(time_t)); + printf("type(off_t): size=%d align=%d\n", sizeof(off_t), TCALIGNOF(off_t)); + printf("type(ino_t): size=%d align=%d\n", sizeof(ino_t), TCALIGNOF(ino_t)); + printf("type(tcgeneric_t): size=%d align=%d\n", sizeof(tcgeneric_t), TCALIGNOF(tcgeneric_t)); printf("macro(RAND_MAX): %llu\n", (unsigned long long)RAND_MAX); + printf("macro(PATH_MAX): %llu\n", (unsigned long long)PATH_MAX); + printf("macro(NAME_MAX): %llu\n", (unsigned long long)NAME_MAX); + printf("macro(P_tmpdir): %s\n", P_tmpdir); printf("sysconf(_SC_CLK_TCK): %ld\n", sysconf(_SC_CLK_TCK)); printf("sysconf(_SC_OPEN_MAX): %ld\n", sysconf(_SC_OPEN_MAX)); printf("sysconf(_SC_PAGESIZE): %ld\n", sysconf(_SC_PAGESIZE)); diff --git a/tcutil.c b/tcutil.c index 4e807f8..98da5d5 100644 --- a/tcutil.c +++ b/tcutil.c @@ -1529,7 +1529,7 @@ uint64_t tcmaprnum(const TCMAP *map){ /* Get the total size of memory used in a map object. */ uint64_t tcmapmsiz(const TCMAP *map){ assert(map); - return map->msiz + map->rnum * (sizeof(*map->first) + sizeof(void *)) + + return map->msiz + map->rnum * (sizeof(*map->first) + sizeof(tcgeneric_t)) + map->bnum * sizeof(void *); } @@ -2886,7 +2886,7 @@ uint64_t tctreernum(const TCTREE *tree){ /* Get the total size of memory used in a tree object. */ uint64_t tctreemsiz(const TCTREE *tree){ assert(tree); - return tree->msiz + tree->rnum * (sizeof(*tree->root) + sizeof(void *)); + return tree->msiz + tree->rnum * (sizeof(*tree->root) + sizeof(tcgeneric_t)); } diff --git a/tcutil.h b/tcutil.h index f63d717..679f224 100644 --- a/tcutil.h +++ b/tcutil.h @@ -3992,9 +3992,15 @@ uint64_t tcpagealign(uint64_t off); } while(false) +/* Get the alignment of a variable type. */ +#define TCALIGNOF(TC_a) \ + ((int)offsetof(struct { int8_t TC_top; TC_a TC_bot; }, TC_bot)) + + /* Get the size of padding bytes for pointer alignment. */ +typedef union { int32_t i; int64_t l; double d; void *p; } tcgeneric_t; #define TCALIGNPAD(TC_hsiz) \ - (((TC_hsiz | ~-(int)sizeof(void *)) + 1) - TC_hsiz) + (((TC_hsiz | ~-TCALIGNOF(tcgeneric_t)) + 1) - TC_hsiz) /* Alias of `tcxstrcat'. */ -- 1.6.5.2.372.gc0502 debian/patches/0008-no-mysnc-on-hurd.patch0000644000000000000000000000255712145633331015352 0ustar # From: Tobias Frost # Subject: Disable msync calls on hurd Index: tokyocabinet-1.4.47/tcfdb.c =================================================================== --- tokyocabinet-1.4.47.orig/tcfdb.c 2011-02-11 16:37:45.000000000 +0100 +++ tokyocabinet-1.4.47/tcfdb.c 2012-03-05 20:52:46.549679942 +0100 @@ -1129,10 +1129,12 @@ tcfdbdumpmeta(fdb, hbuf); memcpy(fdb->map, hbuf, FDBOPAQUEOFF); if(phys){ +#ifndef __GNU__ if(msync(fdb->map, fdb->limsiz, MS_SYNC) == -1){ tcfdbsetecode(fdb, TCEMMAP, __FILE__, __LINE__, __func__); err = true; } +#endif if(fsync(fdb->fd) == -1){ tcfdbsetecode(fdb, TCESYNC, __FILE__, __LINE__, __func__); err = true; Index: tokyocabinet-1.4.47/tchdb.c =================================================================== --- tokyocabinet-1.4.47.orig/tchdb.c 2011-02-11 16:37:45.000000000 +0100 +++ tokyocabinet-1.4.47/tchdb.c 2012-03-05 20:52:46.553680004 +0100 @@ -1330,10 +1330,12 @@ memcpy(hdb->map, hbuf, HDBOPAQUEOFF); if(phys){ size_t xmsiz = (hdb->xmsiz > hdb->msiz) ? hdb->xmsiz : hdb->msiz; +#ifndef __GNU__ if(msync(hdb->map, xmsiz, MS_SYNC) == -1){ tchdbsetecode(hdb, TCEMMAP, __FILE__, __LINE__, __func__); err = true; } +#endif if(fsync(hdb->fd) == -1){ tchdbsetecode(hdb, TCESYNC, __FILE__, __LINE__, __func__); err = true; debian/patches/series0000644000000000000000000000064412167471430012043 0ustar 0001-pkg-config.pc.in-move-LIBS-in-the-Libs.private-secti.patch 0002-Avoid-LDENV-to-avoid-rpaths.patch 0003-Readd-alias-symbols-for-tcmpoolput-APIS.patch 0006-disable-UBC-feature-on-hppa-since-it-causes-test-sui.patch 0007-fix-FTBFS-with-binutils-gold.patch 0008-no-mysnc-on-hurd.patch 0009-manpages-section-fix.patch 0010-fix-sigbus-mipsel.patch 0011-fix-spelling-errors-in-manpage.patch 0012-fix_segv_tcbsdecode.patch debian/patches/0006-disable-UBC-feature-on-hppa-since-it-causes-test-sui.patch0000644000000000000000000000126112145633331023772 0ustar From: Tobias Frost > Subject: Disable UBC feature on hppa since it causes test suite failures. Updateig patch for tokyocabinet 1.47 Index: tokyocabinet-1.4.47/myconf.h =================================================================== --- tokyocabinet-1.4.47.orig/myconf.h 2011-02-11 16:37:44.000000000 +0100 +++ tokyocabinet-1.4.47/myconf.h 2012-03-05 21:18:59.660815523 +0100 @@ -153,7 +153,7 @@ #define TCITOHLL(TC_num) (TC_num) #endif -#if defined(_MYNOUBC) +#if defined(_MYNOUBC) || defined(__hppa__) #define TCUBCACHE 0 #elif defined(_SYS_LINUX_) || defined(_SYS_FREEBSD_) || defined(_SYS_NETBSD_) || \ defined(_SYS_MACOSX_) || defined(_SYS_SUNOS_) debian/patches/0001-pkg-config.pc.in-move-LIBS-in-the-Libs.private-secti.patch0000644000000000000000000000151212145633331023570 0ustar From 7e1259f92ff6ff4093c36cd2bb138dc02aaa9e11 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Tue, 20 Nov 2007 11:22:05 +0100 Subject: [PATCH 1/4] pkg-config.pc.in: move @LIBS@ in the Libs.private section Also avoid to link binaries against libz, libm and friends. Signed-off-by: Pierre Habouzit --- tokyocabinet.pc.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/tokyocabinet.pc.in b/tokyocabinet.pc.in index e12d606..61d3f04 100644 --- a/tokyocabinet.pc.in +++ b/tokyocabinet.pc.in @@ -10,5 +10,6 @@ datadir=@datadir@ Name: Tokyo Cabinet Description: a modern implementation of DBM Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -ltokyocabinet @LIBS@ +Libs: -L${libdir} -ltokyocabinet Cflags: -I${includedir} +Libs.private: @LIBS@ -- 1.6.5.2.342.g27b86 debian/patches/0003-Readd-alias-symbols-for-tcmpoolput-APIS.patch0000644000000000000000000000220712145633331021536 0ustar From 48421de6dbdac43f873b2fac6580c0a6cb7fd71b Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Sun, 8 Nov 2009 15:38:41 +0100 Subject: [PATCH 3/4] Readd alias symbols for tcmpoolput* APIS. Changing the return type from void to a pointer isn't an ABI break, so it's safe, and avoid a Debian-only ABI bump. Signed-off-by: Pierre Habouzit --- tcutil.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/tcutil.c b/tcutil.c index dd93e7b..4e807f8 100644 --- a/tcutil.c +++ b/tcutil.c @@ -4589,6 +4589,13 @@ TCTREE *tcmpoolpushtree(TCMPOOL *mpool, TCTREE *tree){ return tcmpoolpush(mpool, tree, (void (*)(void *))tctreedel); } +#define ALIAS(old, new) __typeof__(new) old __attribute__((alias(#new))) +ALIAS(tcmpoolput, tcmpoolpush); +ALIAS(tcmpoolputptr, tcmpoolpushptr); +ALIAS(tcmpoolputxstr, tcmpoolpushxstr); +ALIAS(tcmpoolputlist, tcmpoolpushlist); +ALIAS(tcmpoolputmap, tcmpoolpushmap); +ALIAS(tcmpoolputtree, tcmpoolpushtree); /* Allocate a region relegated to a memory pool object. */ void *tcmpoolmalloc(TCMPOOL *mpool, size_t size){ -- 1.6.5.2.342.g27b86 debian/patches/0012-fix_segv_tcbsdecode.patch0000644000000000000000000000110612167467040016214 0ustar Description: segfault in tcbsdecode When tcbsdecode gets a bogus serial compressed object, it does not correctly calculate its length, leading to an interger underflow (-1) then passed as size to memcpy Author: Tobias Frost Forwarded: yes, per e-mail --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/tcutil.c +++ b/tcutil.c @@ -9902,7 +9902,7 @@ ptr = wp; wp = result; const char *end = ptr + nsiz; - while(ptr < end){ + while(ptr < end - 1 ){ uint16_t idx; memcpy(&idx, ptr, sizeof(idx)); idx = TCITOHS(idx); debian/patches/0004-Cherry-pick-alignment-fixes-from-1.4.38.patch0000644000000000000000000000642112145633331021165 0ustar From 8d491a0102beaf0c094b1374632c964a79d11d2f Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Tue, 10 Nov 2009 21:50:21 +0100 Subject: [PATCH 4/4] Cherry-pick alignment fixes from 1.4.38. Signed-off-by: Pierre Habouzit --- tcbdb.c | 6 +++--- tcfdb.c | 8 ++++---- tchdb.c | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tcbdb.c b/tcbdb.c index 56ef58b..82e240f 100644 --- a/tcbdb.c +++ b/tcbdb.c @@ -1643,10 +1643,10 @@ bool tcbdbputproc(TCBDB *bdb, const void *kbuf, int ksiz, const void *vbuf, int procop.proc = proc; procop.op = op; BDBPDPROCOP *procptr = &procop; - char stack[TCNUMBUFSIZ*2]; + void *stack[(TCNUMBUFSIZ*2)/sizeof(void *)+1]; char *rbuf; if(ksiz <= sizeof(stack) - sizeof(procptr)){ - rbuf = stack; + rbuf = (char *)stack; } else { TCMALLOC(rbuf, ksiz + sizeof(procptr)); } @@ -1656,7 +1656,7 @@ bool tcbdbputproc(TCBDB *bdb, const void *kbuf, int ksiz, const void *vbuf, int memcpy(wp, kbuf, ksiz); kbuf = rbuf + sizeof(procptr); bool rv = tcbdbputimpl(bdb, kbuf, ksiz, vbuf, vsiz, BDBPDPROC); - if(rbuf != stack) TCFREE(rbuf); + if(rbuf != (char *)stack) TCFREE(rbuf); BDBUNLOCKMETHOD(bdb); return rv; } diff --git a/tcfdb.c b/tcfdb.c index c673a4f..4743993 100644 --- a/tcfdb.c +++ b/tcfdb.c @@ -1294,11 +1294,11 @@ bool tcfdbputproc(TCFDB *fdb, int64_t id, const void *vbuf, int vsiz, TCPDPROC p procop.proc = proc; procop.op = op; FDBPDPROCOP *procptr = &procop; - char stack[FDBDEFWIDTH+TCNUMBUFSIZ]; + void *stack[(FDBDEFWIDTH+TCNUMBUFSIZ)/sizeof(void *)+1]; char *rbuf; if(vbuf){ if(vsiz <= sizeof(stack) - sizeof(procptr)){ - rbuf = stack; + rbuf = (char *)stack; } else { TCMALLOC(rbuf, vsiz + sizeof(procptr)); } @@ -1308,13 +1308,13 @@ bool tcfdbputproc(TCFDB *fdb, int64_t id, const void *vbuf, int vsiz, TCPDPROC p memcpy(wp, vbuf, vsiz); vbuf = rbuf + sizeof(procptr); } else { - rbuf = stack; + rbuf = (char *)stack; memcpy(rbuf, &procptr, sizeof(procptr)); vbuf = rbuf + sizeof(procptr); vsiz = -1; } bool rv = tcfdbputimpl(fdb, id, vbuf, vsiz, FDBPDPROC); - if(rbuf != stack) TCFREE(rbuf); + if(rbuf != (char *)stack) TCFREE(rbuf); FDBUNLOCKRECORD(fdb, id); FDBUNLOCKMETHOD(fdb); return rv; diff --git a/tchdb.c b/tchdb.c index 3a4d171..bbdfaed 100644 --- a/tchdb.c +++ b/tchdb.c @@ -1668,10 +1668,10 @@ bool tchdbputproc(TCHDB *hdb, const void *kbuf, int ksiz, const void *vbuf, int procop.proc = proc; procop.op = op; HDBPDPROCOP *procptr = &procop; - char stack[TCNUMBUFSIZ*2]; + void *stack[(TCNUMBUFSIZ*2)/sizeof(void *)+1]; char *rbuf; if(ksiz <= sizeof(stack) - sizeof(procptr)){ - rbuf = stack; + rbuf = (char *)stack; } else { TCMALLOC(rbuf, ksiz + sizeof(procptr)); } @@ -1681,7 +1681,7 @@ bool tchdbputproc(TCHDB *hdb, const void *kbuf, int ksiz, const void *vbuf, int memcpy(wp, kbuf, ksiz); kbuf = rbuf + sizeof(procptr); bool rv = tchdbputimpl(hdb, kbuf, ksiz, bidx, hash, vbuf, vsiz, HDBPDPROC); - if(rbuf != stack) TCFREE(rbuf); + if(rbuf != (char *)stack) TCFREE(rbuf); HDBUNLOCKRECORD(hdb, bidx); HDBUNLOCKMETHOD(hdb); if(hdb->dfunit > 0 && hdb->dfcnt > hdb->dfunit && -- 1.6.5.2.342.g27b86 debian/patches/0010-fix-sigbus-mipsel.patch0000644000000000000000000000322212145633331015563 0ustar # From: Tobias Frost # Subject: Workaround SIGBUS (alignment problem) on mipsel # Bug: 659554 Index: tokyocabinet-1.4.47/tcbdb.c =================================================================== --- tokyocabinet-1.4.47.orig/tcbdb.c 2011-02-11 16:37:45.000000000 +0100 +++ tokyocabinet-1.4.47/tcbdb.c 2012-03-05 21:00:58.544756159 +0100 @@ -2245,16 +2245,39 @@ *(int *)vbuf = *(int *)(dbuf + rec->ksiz + psiz); break; case BDBPDADDDBL: +#ifdef __mips__ + { + double _vbuf; + double _tmp; + if(rec->vsiz != sizeof(double)){ tcbdbsetecode(bdb, TCEKEEP, __FILE__, __LINE__, __func__); return false; } + memcpy(&_vbuf, vbuf, sizeof(double)); + if(_vbuf == 0.0){ + memcpy(vbuf, dbuf + rec->ksiz + psiz, sizeof(double)); + return true; + } + memcpy(&_tmp, dbuf + rec->ksiz + psiz, sizeof(double)); + _tmp += _vbuf; + memcpy(dbuf + rec->ksiz + psiz, &_tmp, sizeof(double)); + memcpy(vbuf, dbuf + rec->ksiz + psiz, sizeof(double)); + } +#else + if(rec->vsiz != sizeof(double)){ + tcbdbsetecode(bdb, TCEKEEP, __FILE__, __LINE__, __func__); + return false; + } + + if(*(double *)vbuf == 0.0){ *(double *)vbuf = *(double *)(dbuf + rec->ksiz + psiz); return true; } *(double *)(dbuf + rec->ksiz + psiz) += *(double *)vbuf; *(double *)vbuf = *(double *)(dbuf + rec->ksiz + psiz); +#endif break; case BDBPDPROC: procptr = *(BDBPDPROCOP **)((char *)kbuf - sizeof(procptr)); debian/patches/0002-Avoid-LDENV-to-avoid-rpaths.patch0000644000000000000000000001663012145633331017153 0ustar From a8e577c80ed4ea3cf28c5c55e2389d0c6b1b42e7 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Mon, 3 Nov 2008 15:32:28 +0100 Subject: [PATCH 2/4] Avoid LDENV to avoid rpaths. Signed-off-by: Pierre Habouzit --- Makefile.in | 33 ++++++++++++++++----------------- configure | 19 ++++++++++--------- configure.in | 19 ++++++++++--------- 3 files changed, 36 insertions(+), 35 deletions(-) Index: tokyocabinet-1.4.47/Makefile.in =================================================================== --- tokyocabinet-1.4.47.orig/Makefile.in 2012-03-05 21:01:34.989290643 +0100 +++ tokyocabinet-1.4.47/Makefile.in 2012-03-05 21:10:39.689421509 +0100 @@ -54,8 +54,7 @@ LDFLAGS = @MYLDFLAGS@ CMDLDFLAGS = @MYCMDLDFLAGS@ LIBS = @LIBS@ -LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:. -RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@ +RUNENV = @MYLDLIBPATHENV@=. POSTCMD = @MYPOSTCMD@ @@ -714,51 +713,51 @@ tcutest : tcutest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcumttest : tcumttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcucodec : tcucodec.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tchtest : tchtest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tchmttest : tchmttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tchmgr : tchmgr.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcbtest : tcbtest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcbmttest : tcbmttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcbmgr : tcbmgr.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcftest : tcftest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcfmttest : tcfmttest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcfmgr : tcfmgr.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcttest : tcttest.o $(LIBRARYFILES) @@ -774,7 +773,7 @@ tcatest : tcatest.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcamttest : tcamttest.o $(LIBRARYFILES) @@ -782,11 +781,11 @@ tcamgr : tcamgr.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet tcawmgr.cgi : tcawmgr.o $(LIBRARYFILES) - $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet $(LIBS) + $(LDENV) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -ltokyocabinet myconf.o : myconf.h Index: tokyocabinet-1.4.47/configure =================================================================== --- tokyocabinet-1.4.47.orig/configure 2012-03-05 21:01:34.913289531 +0100 +++ tokyocabinet-1.4.47/configure 2012-03-05 21:10:39.697421626 +0100 @@ -2066,22 +2066,23 @@ # Building flags MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" -MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include" +MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I/usr/local/include" MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__" -MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" +MYLDFLAGS="-L. -L\$(LIBDIR) -L/usr/local/lib" MYCMDLDFLAGS="" MYRUNPATH="\$(LIBDIR)" MYLDLIBPATHENV="LD_LIBRARY_PATH" MYPOSTCMD="true" # Building paths -PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" -PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb" -CPATH="$HOME/include:/usr/local/include:$CPATH" -LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" -LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" -PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" -export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH +pathtmp="$PATH" +PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" +PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp" +LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" +LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" +CPATH="/usr/local/include:$CPATH" +PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" +export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH Index: tokyocabinet-1.4.47/configure.in =================================================================== --- tokyocabinet-1.4.47.orig/configure.in 2012-03-05 21:01:34.949290061 +0100 +++ tokyocabinet-1.4.47/configure.in 2012-03-05 21:10:39.697421626 +0100 @@ -32,22 +32,23 @@ # Building flags MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" -MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include" +MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I/usr/local/include" MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__" -MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" +MYLDFLAGS="-L. -L\$(LIBDIR) -L/usr/local/lib" MYCMDLDFLAGS="" MYRUNPATH="\$(LIBDIR)" MYLDLIBPATHENV="LD_LIBRARY_PATH" MYPOSTCMD="true" # Building paths -PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" -PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb" -CPATH="$HOME/include:/usr/local/include:$CPATH" -LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" -LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" -PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" -export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH +pathtmp="$PATH" +PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" +PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp" +LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" +LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" +CPATH="/usr/local/include:$CPATH" +PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" +export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH debian/patches/0009-manpages-section-fix.patch0000644000000000000000000000167612145633331016260 0ustar # From: Tobias Frost # Subject: Wrong sections for manpage Index: tokyocabinet/man/tcamgr.1 =================================================================== --- tokyocabinet.orig/man/tcamgr.1 2012-10-23 21:22:28.000000000 +0200 +++ tokyocabinet/man/tcamgr.1 2012-10-23 21:26:02.030815538 +0200 @@ -1,4 +1,4 @@ -.TH "TCATEST" 3 "2012-08-18" "Man Page" "Tokyo Cabinet" +.TH "TCATEST" 1 "2012-08-18" "Man Page" "Tokyo Cabinet" .SH NAME tcamgr \- the command line utility of the abstract database API Index: tokyocabinet/man/tcatest.1 =================================================================== --- tokyocabinet.orig/man/tcatest.1 2012-10-23 21:22:28.000000000 +0200 +++ tokyocabinet/man/tcatest.1 2012-10-23 21:26:08.618922519 +0200 @@ -1,4 +1,4 @@ -.TH "TCATEST" 3 "2012-08-18" "Man Page" "Tokyo Cabinet" +.TH "TCATEST" 1 "2012-08-18" "Man Page" "Tokyo Cabinet" .SH NAME tcatest \- test cases of the abstract database API debian/tokyocabinet-doc.docs0000644000000000000000000000000612145633331013273 0ustar doc/* debian/tokyocabinet-doc.doc-base0000644000000000000000000000045712145633331014032 0ustar Document: tokyocabinet-doc Title: Tokyo Cabinet Documentation Author: Mikio Hirabayashi Abstract: Tokyo Cabinet: a modern implementation of DBM -- library documentation Section: Programming/C Format: HTML Index: /usr/share/doc/tokyocabinet-doc/index.html Files: /usr/share/doc/tokyocabinet-doc/*.html debian/source/0000755000000000000000000000000012145633331010467 5ustar debian/source/format0000644000000000000000000000001412145633331011675 0ustar 3.0 (quilt) debian/tokyocabinet-bin.install0000644000000000000000000000007112145633331014016 0ustar debian/tmp/usr/bin/tc* debian/tmp/usr/share/man/man1/tc* debian/libtokyocabinet9.symbols0000644000000000000000000004656712145633331014076 0ustar libtokyocabinet.so.9 libtokyocabinet9 #MINVER# _tc_bzcompress@Base 1.4.47 _tc_bzdecompress@Base 1.4.47 _tc_deflate@Base 1.4.47 _tc_dummy_cnt@Base 1.4.47 _tc_dummyfunc@Base 1.4.47 _tc_dummyfuncv@Base 1.4.47 _tc_getcrc@Base 1.4.47 _tc_inflate@Base 1.4.47 _tc_md5_append@Base 1.4.47 _tc_md5_finish@Base 1.4.47 _tc_md5_init@Base 1.4.47 _tc_recdecode@Base 1.4.47 _tc_recencode@Base 1.4.47 tcadbadddouble@Base 1.4.47 tcadbaddint@Base 1.4.47 tcadbclose@Base 1.4.47 tcadbcopy@Base 1.4.47 tcadbdel@Base 1.4.47 tcadbforeach@Base 1.4.47 tcadbfwmkeys2@Base 1.4.47 tcadbfwmkeys@Base 1.4.47 tcadbget2@Base 1.4.47 tcadbget@Base 1.4.47 tcadbiterinit@Base 1.4.47 tcadbiternext2@Base 1.4.47 tcadbiternext@Base 1.4.47 tcadbmapbdb@Base 1.4.47 tcadbmapbdbemit@Base 1.4.47 tcadbmisc@Base 1.4.47 tcadbnew@Base 1.4.47 tcadbomode@Base 1.4.47 tcadbopen@Base 1.4.47 tcadboptimize@Base 1.4.47 tcadbout2@Base 1.4.47 tcadbout@Base 1.4.47 tcadbpath@Base 1.4.47 tcadbput2@Base 1.4.47 tcadbput@Base 1.4.47 tcadbputcat2@Base 1.4.47 tcadbputcat@Base 1.4.47 tcadbputkeep2@Base 1.4.47 tcadbputkeep@Base 1.4.47 tcadbputproc@Base 1.4.47 tcadbreveal@Base 1.4.47 tcadbrnum@Base 1.4.47 tcadbsetskel@Base 1.4.47 tcadbsetskelmulti@Base 1.4.47 tcadbsize@Base 1.4.47 tcadbsync@Base 1.4.47 tcadbtranabort@Base 1.4.47 tcadbtranbegin@Base 1.4.47 tcadbtrancommit@Base 1.4.47 tcadbvanish@Base 1.4.47 tcadbvsiz2@Base 1.4.47 tcadbvsiz@Base 1.4.47 tcarccipher@Base 1.4.47 tcatof@Base 1.4.47 tcatoi@Base 1.4.47 tcatoih@Base 1.4.47 tcatoix@Base 1.4.47 tcbasedecode@Base 1.4.47 tcbaseencode@Base 1.4.47 tcbdbadddouble@Base 1.4.47 tcbdbaddint@Base 1.4.47 tcbdbalign@Base 1.4.47 tcbdbbnum@Base 1.4.47 tcbdbbnumused@Base 1.4.47 tcbdbcacheclear@Base 1.4.47 tcbdbclose@Base 1.4.47 tcbdbcmpfunc@Base 1.4.47 tcbdbcmpop@Base 1.4.47 tcbdbcopy@Base 1.4.47 tcbdbcurdel@Base 1.4.47 tcbdbcurfirst@Base 1.4.47 tcbdbcurjump2@Base 1.4.47 tcbdbcurjump@Base 1.4.47 tcbdbcurjumpback2@Base 1.4.47 tcbdbcurjumpback@Base 1.4.47 tcbdbcurkey2@Base 1.4.47 tcbdbcurkey3@Base 1.4.47 tcbdbcurkey@Base 1.4.47 tcbdbcurlast@Base 1.4.47 tcbdbcurnew@Base 1.4.47 tcbdbcurnext@Base 1.4.47 tcbdbcurout@Base 1.4.47 tcbdbcurprev@Base 1.4.47 tcbdbcurput2@Base 1.4.47 tcbdbcurput@Base 1.4.47 tcbdbcurrec@Base 1.4.47 tcbdbcurval2@Base 1.4.47 tcbdbcurval3@Base 1.4.47 tcbdbcurval@Base 1.4.47 tcbdbdbgfd@Base 1.4.47 tcbdbdefrag@Base 1.4.47 tcbdbdel@Base 1.4.47 tcbdbdfunit@Base 1.4.47 tcbdbecode@Base 1.4.47 tcbdberrmsg@Base 1.4.47 tcbdbfbpmax@Base 1.4.47 tcbdbflags@Base 1.4.47 tcbdbforeach@Base 1.4.47 tcbdbfsiz@Base 1.4.47 tcbdbfwmkeys2@Base 1.4.47 tcbdbfwmkeys@Base 1.4.47 tcbdbget2@Base 1.4.47 tcbdbget3@Base 1.4.47 tcbdbget4@Base 1.4.47 tcbdbget@Base 1.4.47 tcbdbhasmutex@Base 1.4.47 tcbdbinode@Base 1.4.47 tcbdblmemb@Base 1.4.47 tcbdblnum@Base 1.4.47 tcbdbmemsync@Base 1.4.47 tcbdbmtime@Base 1.4.47 tcbdbnew@Base 1.4.47 tcbdbnmemb@Base 1.4.47 tcbdbnnum@Base 1.4.47 tcbdbopaque@Base 1.4.47 tcbdbopen@Base 1.4.47 tcbdboptimize@Base 1.4.47 tcbdbopts@Base 1.4.47 tcbdbout2@Base 1.4.47 tcbdbout3@Base 1.4.47 tcbdbout@Base 1.4.47 tcbdbpath@Base 1.4.47 tcbdbprintleaf@Base 1.4.47 tcbdbprintmeta@Base 1.4.47 tcbdbprintnode@Base 1.4.47 tcbdbput2@Base 1.4.47 tcbdbput@Base 1.4.47 tcbdbputcat2@Base 1.4.47 tcbdbputcat@Base 1.4.47 tcbdbputdup2@Base 1.4.47 tcbdbputdup3@Base 1.4.47 tcbdbputdup@Base 1.4.47 tcbdbputdupback2@Base 1.4.47 tcbdbputdupback@Base 1.4.47 tcbdbputkeep2@Base 1.4.47 tcbdbputkeep@Base 1.4.47 tcbdbputproc@Base 1.4.47 tcbdbrange2@Base 1.4.47 tcbdbrange@Base 1.4.47 tcbdbrnum@Base 1.4.47 tcbdbsetcache@Base 1.4.47 tcbdbsetcapnum@Base 1.4.47 tcbdbsetcmpfunc@Base 1.4.47 tcbdbsetcodecfunc@Base 1.4.47 tcbdbsetdbgfd@Base 1.4.47 tcbdbsetdfunit@Base 1.4.47 tcbdbsetecode@Base 1.4.47 tcbdbsetlsmax@Base 1.4.47 tcbdbsetmutex@Base 1.4.47 tcbdbsetxmsiz@Base 1.4.47 tcbdbsync@Base 1.4.47 tcbdbtranabort@Base 1.4.47 tcbdbtranbegin@Base 1.4.47 tcbdbtrancommit@Base 1.4.47 tcbdbtune@Base 1.4.47 tcbdbvanish@Base 1.4.47 tcbdbvnum2@Base 1.4.47 tcbdbvnum@Base 1.4.47 tcbdbvsiz2@Base 1.4.47 tcbdbvsiz@Base 1.4.47 tcberdecode@Base 1.4.47 tcberencode@Base 1.4.47 tcbsdecode@Base 1.4.47 tcbsencode@Base 1.4.47 tcbwtdecode@Base 1.4.47 tcbwtencode@Base 1.4.47 tcbzipdecode@Base 1.4.47 tcbzipencode@Base 1.4.47 tccalendar@Base 1.4.47 tccalloc@Base 1.4.47 tcchidxdel@Base 1.4.47 tcchidxhash@Base 1.4.47 tcchidxnew@Base 1.4.47 tccmpdecimal@Base 1.4.47 tccmpint32@Base 1.4.47 tccmpint64@Base 1.4.47 tccmplexical@Base 1.4.47 tccopyfile@Base 1.4.47 tccstrescape@Base 1.4.47 tccstrunescape@Base 1.4.47 tcdatestrhttp@Base 1.4.47 tcdatestrwww@Base 1.4.47 tcdayofweek@Base 1.4.47 tcdeflate@Base 1.4.47 tcdrand@Base 1.4.47 tcdrandnd@Base 1.4.47 tcerrmsg@Base 1.4.47 tcfatalfunc@Base 1.4.47 tcfdbadddouble@Base 1.4.47 tcfdbaddint@Base 1.4.47 tcfdbclose@Base 1.4.47 tcfdbcopy@Base 1.4.47 tcfdbdbgfd@Base 1.4.47 tcfdbdel@Base 1.4.47 tcfdbecode@Base 1.4.47 tcfdberrmsg@Base 1.4.47 tcfdbflags@Base 1.4.47 tcfdbforeach@Base 1.4.47 tcfdbfsiz@Base 1.4.47 tcfdbget2@Base 1.4.47 tcfdbget3@Base 1.4.47 tcfdbget4@Base 1.4.47 tcfdbget@Base 1.4.47 tcfdbhasmutex@Base 1.4.47 tcfdbinode@Base 1.4.47 tcfdbiterinit2@Base 1.4.47 tcfdbiterinit3@Base 1.4.47 tcfdbiterinit4@Base 1.4.47 tcfdbiterinit@Base 1.4.47 tcfdbiternext2@Base 1.4.47 tcfdbiternext3@Base 1.4.47 tcfdbiternext@Base 1.4.47 tcfdbkeytoid@Base 1.4.47 tcfdblimid@Base 1.4.47 tcfdblimsiz@Base 1.4.47 tcfdbmax@Base 1.4.47 tcfdbmemsync@Base 1.4.47 tcfdbmin@Base 1.4.47 tcfdbmtime@Base 1.4.47 tcfdbnew@Base 1.4.47 tcfdbomode@Base 1.4.47 tcfdbopaque@Base 1.4.47 tcfdbopen@Base 1.4.47 tcfdboptimize@Base 1.4.47 tcfdbout2@Base 1.4.47 tcfdbout3@Base 1.4.47 tcfdbout@Base 1.4.47 tcfdbpath@Base 1.4.47 tcfdbprintmeta@Base 1.4.47 tcfdbput2@Base 1.4.47 tcfdbput3@Base 1.4.47 tcfdbput@Base 1.4.47 tcfdbputcat2@Base 1.4.47 tcfdbputcat3@Base 1.4.47 tcfdbputcat@Base 1.4.47 tcfdbputkeep2@Base 1.4.47 tcfdbputkeep3@Base 1.4.47 tcfdbputkeep@Base 1.4.47 tcfdbputproc@Base 1.4.47 tcfdbrange2@Base 1.4.47 tcfdbrange3@Base 1.4.47 tcfdbrange4@Base 1.4.47 tcfdbrange5@Base 1.4.47 tcfdbrange@Base 1.4.47 tcfdbrnum@Base 1.4.47 tcfdbsetdbgfd@Base 1.4.47 tcfdbsetecode@Base 1.4.47 tcfdbsetmutex@Base 1.4.47 tcfdbsync@Base 1.4.47 tcfdbtranabort@Base 1.4.47 tcfdbtranbegin@Base 1.4.47 tcfdbtrancommit@Base 1.4.47 tcfdbtune@Base 1.4.47 tcfdbtype@Base 1.4.47 tcfdbvanish@Base 1.4.47 tcfdbvsiz2@Base 1.4.47 tcfdbvsiz3@Base 1.4.47 tcfdbvsiz@Base 1.4.47 tcfdbwidth@Base 1.4.47 tcfree@Base 1.4.47 tcgetcrc@Base 1.4.47 tcglobalmemorypool@Base 1.4.47 tcglobalmutexlock@Base 1.4.47 tcglobalmutexlockshared@Base 1.4.47 tcglobalmutexunlock@Base 1.4.47 tcglobpat@Base 1.4.47 tcgzipdecode@Base 1.4.47 tcgzipencode@Base 1.4.47 tchdbadddouble@Base 1.4.47 tchdbaddint@Base 1.4.47 tchdbalign@Base 1.4.47 tchdbbnum@Base 1.4.47 tchdbbnumused@Base 1.4.47 tchdbcacheclear@Base 1.4.47 tchdbclose@Base 1.4.47 tchdbcodecfunc@Base 1.4.47 tchdbcopy@Base 1.4.47 tchdbdbgfd@Base 1.4.47 tchdbdefrag@Base 1.4.47 tchdbdel@Base 1.4.47 tchdbdfunit@Base 1.4.47 tchdbecode@Base 1.4.47 tchdberrmsg@Base 1.4.47 tchdbfbpmax@Base 1.4.47 tchdbflags@Base 1.4.47 tchdbforeach@Base 1.4.47 tchdbfsiz@Base 1.4.47 tchdbfwmkeys2@Base 1.4.47 tchdbfwmkeys@Base 1.4.47 tchdbget2@Base 1.4.47 tchdbget3@Base 1.4.47 tchdbget@Base 1.4.47 tchdbgetnext2@Base 1.4.47 tchdbgetnext3@Base 1.4.47 tchdbgetnext@Base 1.4.47 tchdbhasmutex@Base 1.4.47 tchdbinode@Base 1.4.47 tchdbiterinit2@Base 1.4.47 tchdbiterinit3@Base 1.4.47 tchdbiterinit@Base 1.4.47 tchdbiternext2@Base 1.4.47 tchdbiternext3@Base 1.4.47 tchdbiternext@Base 1.4.47 tchdbmemsync@Base 1.4.47 tchdbmtime@Base 1.4.47 tchdbnew@Base 1.4.47 tchdbomode@Base 1.4.47 tchdbopaque@Base 1.4.47 tchdbopen@Base 1.4.47 tchdboptimize@Base 1.4.47 tchdbopts@Base 1.4.47 tchdbout2@Base 1.4.47 tchdbout@Base 1.4.47 tchdbpath@Base 1.4.47 tchdbprintmeta@Base 1.4.47 tchdbprintrec@Base 1.4.47 tchdbput2@Base 1.4.47 tchdbput@Base 1.4.47 tchdbputasync2@Base 1.4.47 tchdbputasync@Base 1.4.47 tchdbputcat2@Base 1.4.47 tchdbputcat@Base 1.4.47 tchdbputkeep2@Base 1.4.47 tchdbputkeep@Base 1.4.47 tchdbputproc@Base 1.4.47 tchdbrnum@Base 1.4.47 tchdbsetcache@Base 1.4.47 tchdbsetcodecfunc@Base 1.4.47 tchdbsetdbgfd@Base 1.4.47 tchdbsetdfunit@Base 1.4.47 tchdbsetecode@Base 1.4.47 tchdbsetmutex@Base 1.4.47 tchdbsettype@Base 1.4.47 tchdbsetxmsiz@Base 1.4.47 tchdbsync@Base 1.4.47 tchdbtranabort@Base 1.4.47 tchdbtranbegin@Base 1.4.47 tchdbtrancommit@Base 1.4.47 tchdbtranvoid@Base 1.4.47 tchdbtune@Base 1.4.47 tchdbtype@Base 1.4.47 tchdbvanish@Base 1.4.47 tchdbvsiz2@Base 1.4.47 tchdbvsiz@Base 1.4.47 tchdbxmsiz@Base 1.4.47 tchexdecode@Base 1.4.47 tchexencode@Base 1.4.47 tcinflate@Base 1.4.47 tcjetlag@Base 1.4.47 tcjsonescape@Base 1.4.47 tcjsonunescape@Base 1.4.47 tclistbsearch@Base 1.4.47 tclistclear@Base 1.4.47 tclistdel@Base 1.4.47 tclistdump@Base 1.4.47 tclistdup@Base 1.4.47 tclistinsert2@Base 1.4.47 tclistinsert@Base 1.4.47 tclistinvert@Base 1.4.47 tclistload@Base 1.4.47 tclistlsearch@Base 1.4.47 tclistnew2@Base 1.4.47 tclistnew3@Base 1.4.47 tclistnew@Base 1.4.47 tclistnum@Base 1.4.47 tclistover2@Base 1.4.47 tclistover@Base 1.4.47 tclistpop2@Base 1.4.47 tclistpop@Base 1.4.47 tclistprintf@Base 1.4.47 tclistpush2@Base 1.4.47 tclistpush@Base 1.4.47 tclistpushlist@Base 1.4.47 tclistpushmalloc@Base 1.4.47 tclistpushmap@Base 1.4.47 tclistremove2@Base 1.4.47 tclistremove@Base 1.4.47 tclistshift2@Base 1.4.47 tclistshift@Base 1.4.47 tclistsort@Base 1.4.47 tclistsortci@Base 1.4.47 tclistsortex@Base 1.4.47 tclistunshift2@Base 1.4.47 tclistunshift@Base 1.4.47 tclistval2@Base 1.4.47 tclistval@Base 1.4.47 tclmax@Base 1.4.47 tclmin@Base 1.4.47 tclock@Base 1.4.47 tclog2d@Base 1.4.47 tclog2l@Base 1.4.47 tclrand@Base 1.4.47 tcmalloc@Base 1.4.47 tcmapadddouble@Base 1.4.47 tcmapaddint@Base 1.4.47 tcmapclear@Base 1.4.47 tcmapcutfront@Base 1.4.47 tcmapdel@Base 1.4.47 tcmapdump@Base 1.4.47 tcmapdup@Base 1.4.47 tcmapget2@Base 1.4.47 tcmapget3@Base 1.4.47 tcmapget4@Base 1.4.47 tcmapget@Base 1.4.47 tcmapiterinit2@Base 1.4.47 tcmapiterinit3@Base 1.4.47 tcmapiterinit@Base 1.4.47 tcmapiternext2@Base 1.4.47 tcmapiternext@Base 1.4.47 tcmapiterval2@Base 1.4.47 tcmapiterval@Base 1.4.47 tcmapkeys2@Base 1.4.47 tcmapkeys@Base 1.4.47 tcmapload@Base 1.4.47 tcmaploadone@Base 1.4.47 tcmapmove2@Base 1.4.47 tcmapmove@Base 1.4.47 tcmapmsiz@Base 1.4.47 tcmapnew2@Base 1.4.47 tcmapnew3@Base 1.4.47 tcmapnew@Base 1.4.47 tcmapout2@Base 1.4.47 tcmapout@Base 1.4.47 tcmapprintf@Base 1.4.47 tcmapput2@Base 1.4.47 tcmapput3@Base 1.4.47 tcmapput4@Base 1.4.47 tcmapput@Base 1.4.47 tcmapputcat2@Base 1.4.47 tcmapputcat3@Base 1.4.47 tcmapputcat@Base 1.4.47 tcmapputkeep2@Base 1.4.47 tcmapputkeep@Base 1.4.47 tcmapputlist@Base 1.4.47 tcmapputmap@Base 1.4.47 tcmapputproc@Base 1.4.47 tcmaprnum@Base 1.4.47 tcmapvals2@Base 1.4.47 tcmapvals@Base 1.4.47 tcmd5hash@Base 1.4.47 tcmdbadddouble@Base 1.4.47 tcmdbaddint@Base 1.4.47 tcmdbcutfront@Base 1.4.47 tcmdbdel@Base 1.4.47 tcmdbforeach@Base 1.4.47 tcmdbfwmkeys2@Base 1.4.47 tcmdbfwmkeys@Base 1.4.47 tcmdbget2@Base 1.4.47 tcmdbget3@Base 1.4.47 tcmdbget@Base 1.4.47 tcmdbiterinit2@Base 1.4.47 tcmdbiterinit3@Base 1.4.47 tcmdbiterinit@Base 1.4.47 tcmdbiternext2@Base 1.4.47 tcmdbiternext@Base 1.4.47 tcmdbmsiz@Base 1.4.47 tcmdbnew2@Base 1.4.47 tcmdbnew@Base 1.4.47 tcmdbout2@Base 1.4.47 tcmdbout@Base 1.4.47 tcmdbput2@Base 1.4.47 tcmdbput3@Base 1.4.47 tcmdbput4@Base 1.4.47 tcmdbput@Base 1.4.47 tcmdbputcat2@Base 1.4.47 tcmdbputcat3@Base 1.4.47 tcmdbputcat@Base 1.4.47 tcmdbputkeep2@Base 1.4.47 tcmdbputkeep@Base 1.4.47 tcmdbputproc@Base 1.4.47 tcmdbrnum@Base 1.4.47 tcmdbvanish@Base 1.4.47 tcmdbvsiz2@Base 1.4.47 tcmdbvsiz@Base 1.4.47 tcmemdup@Base 1.4.47 tcmimebreak@Base 1.4.47 tcmimedecode@Base 1.4.47 tcmimeencode@Base 1.4.47 tcmimeparts@Base 1.4.47 tcmpoolclear@Base 1.4.47 tcmpooldel@Base 1.4.47 tcmpoolglobal@Base 1.4.47 tcmpoollistnew@Base 1.4.47 tcmpoolmalloc@Base 1.4.47 tcmpoolmapnew@Base 1.4.47 tcmpoolnew@Base 1.4.47 tcmpoolpop@Base 1.4.47 tcmpoolpush@Base 1.4.47 tcmpoolpushlist@Base 1.4.47 tcmpoolpushmap@Base 1.4.47 tcmpoolpushptr@Base 1.4.47 tcmpoolpushtree@Base 1.4.47 tcmpoolpushxstr@Base 1.4.47 tcmpoolput@Base 1.4.47 tcmpoolputlist@Base 1.4.47 tcmpoolputmap@Base 1.4.47 tcmpoolputptr@Base 1.4.47 tcmpoolputtree@Base 1.4.47 tcmpoolputxstr@Base 1.4.47 tcmpooltreenew@Base 1.4.47 tcmpoolxstrnew@Base 1.4.47 tcmtftable@Base 1.4.47 tcmyfatal@Base 1.4.47 tcndbadddouble@Base 1.4.47 tcndbaddint@Base 1.4.47 tcndbcutfringe@Base 1.4.47 tcndbdel@Base 1.4.47 tcndbforeach@Base 1.4.47 tcndbfwmkeys2@Base 1.4.47 tcndbfwmkeys@Base 1.4.47 tcndbget2@Base 1.4.47 tcndbget3@Base 1.4.47 tcndbget@Base 1.4.47 tcndbiterinit2@Base 1.4.47 tcndbiterinit3@Base 1.4.47 tcndbiterinit@Base 1.4.47 tcndbiternext2@Base 1.4.47 tcndbiternext@Base 1.4.47 tcndbmsiz@Base 1.4.47 tcndbnew2@Base 1.4.47 tcndbnew@Base 1.4.47 tcndbout2@Base 1.4.47 tcndbout@Base 1.4.47 tcndbput2@Base 1.4.47 tcndbput3@Base 1.4.47 tcndbput@Base 1.4.47 tcndbputcat2@Base 1.4.47 tcndbputcat3@Base 1.4.47 tcndbputcat@Base 1.4.47 tcndbputkeep2@Base 1.4.47 tcndbputkeep3@Base 1.4.47 tcndbputkeep@Base 1.4.47 tcndbputproc@Base 1.4.47 tcndbrnum@Base 1.4.47 tcndbvanish@Base 1.4.47 tcndbvsiz2@Base 1.4.47 tcndbvsiz@Base 1.4.47 tcnumtostrbin@Base 1.4.47 tcpackdecode@Base 1.4.47 tcpackencode@Base 1.4.47 tcpagealign@Base 1.4.47 tcpathlock@Base 1.4.47 tcpathunlock@Base 1.4.47 tcptrlistclear@Base 1.4.47 tcptrlistdel@Base 1.4.47 tcptrlistdup@Base 1.4.47 tcptrlistinsert@Base 1.4.47 tcptrlistnew2@Base 1.4.47 tcptrlistnew@Base 1.4.47 tcptrlistnum@Base 1.4.47 tcptrlistover@Base 1.4.47 tcptrlistpop@Base 1.4.47 tcptrlistpush@Base 1.4.47 tcptrlistremove@Base 1.4.47 tcptrlistshift@Base 1.4.47 tcptrlistunshift@Base 1.4.47 tcptrlistval@Base 1.4.47 tcquotedecode@Base 1.4.47 tcquoteencode@Base 1.4.47 tcrandomdevfd@Base 1.4.47 tcread@Base 1.4.47 tcreaddir@Base 1.4.47 tcreadfile@Base 1.4.47 tcreadfilelines@Base 1.4.47 tcrealloc@Base 1.4.47 tcrealpath@Base 1.4.47 tcregexmatch@Base 1.4.47 tcregexreplace@Base 1.4.47 tcremovelink@Base 1.4.47 tcsleep@Base 1.4.47 tcsprintf@Base 1.4.47 tcstatfile@Base 1.4.47 tcstrbwm@Base 1.4.47 tcstrcntutf@Base 1.4.47 tcstrcututf@Base 1.4.47 tcstrdist@Base 1.4.47 tcstrdistutf@Base 1.4.47 tcstrdup@Base 1.4.47 tcstrfwm@Base 1.4.47 tcstribwm@Base 1.4.47 tcstricmp@Base 1.4.47 tcstrifwm@Base 1.4.47 tcstrisnum@Base 1.4.47 tcstrjoin2@Base 1.4.47 tcstrjoin3@Base 1.4.47 tcstrjoin4@Base 1.4.47 tcstrjoin@Base 1.4.47 tcstrkwic@Base 1.4.47 tcstrmktime@Base 1.4.47 tcstrskipspc@Base 1.4.47 tcstrsplit2@Base 1.4.47 tcstrsplit3@Base 1.4.47 tcstrsplit4@Base 1.4.47 tcstrsplit@Base 1.4.47 tcstrsqzspc@Base 1.4.47 tcstrsubchr@Base 1.4.47 tcstrtokenize@Base 1.4.47 tcstrtolower@Base 1.4.47 tcstrtoupper@Base 1.4.47 tcstrtrim@Base 1.4.47 tcstrucsnorm@Base 1.4.47 tcstrucstoutf@Base 1.4.47 tcstrutfnorm@Base 1.4.47 tcstrutftoucs@Base 1.4.47 tcsysinfo@Base 1.4.47 tcsystem@Base 1.4.47 tctdbadddouble@Base 1.4.47 tctdbaddint@Base 1.4.47 tctdbalign@Base 1.4.47 tctdbbnum@Base 1.4.47 tctdbbnumused@Base 1.4.47 tctdbcacheclear@Base 1.4.47 tctdbclose@Base 1.4.47 tctdbcopy@Base 1.4.47 tctdbdbgfd@Base 1.4.47 tctdbdefrag@Base 1.4.47 tctdbdel@Base 1.4.47 tctdbdfunit@Base 1.4.47 tctdbecode@Base 1.4.47 tctdberrmsg@Base 1.4.47 tctdbfbpmax@Base 1.4.47 tctdbflags@Base 1.4.47 tctdbforeach@Base 1.4.47 tctdbfsiz@Base 1.4.47 tctdbfwmkeys2@Base 1.4.47 tctdbfwmkeys@Base 1.4.47 tctdbgenuid@Base 1.4.47 tctdbget2@Base 1.4.47 tctdbget3@Base 1.4.47 tctdbget4@Base 1.4.47 tctdbget@Base 1.4.47 tctdbhasmutex@Base 1.4.47 tctdbinode@Base 1.4.47 tctdbinum@Base 1.4.47 tctdbiterinit2@Base 1.4.47 tctdbiterinit3@Base 1.4.47 tctdbiterinit@Base 1.4.47 tctdbiternext2@Base 1.4.47 tctdbiternext3@Base 1.4.47 tctdbiternext@Base 1.4.47 tctdbmemsync@Base 1.4.47 tctdbmetasearch@Base 1.4.47 tctdbmetastrtosettype@Base 1.4.47 tctdbmtime@Base 1.4.47 tctdbnew@Base 1.4.47 tctdbopaque@Base 1.4.47 tctdbopen@Base 1.4.47 tctdboptimize@Base 1.4.47 tctdbopts@Base 1.4.47 tctdbout2@Base 1.4.47 tctdbout@Base 1.4.47 tctdbpath@Base 1.4.47 tctdbprintmeta@Base 1.4.47 tctdbput2@Base 1.4.47 tctdbput3@Base 1.4.47 tctdbput@Base 1.4.47 tctdbputcat2@Base 1.4.47 tctdbputcat3@Base 1.4.47 tctdbputcat@Base 1.4.47 tctdbputkeep2@Base 1.4.47 tctdbputkeep3@Base 1.4.47 tctdbputkeep@Base 1.4.47 tctdbputproc@Base 1.4.47 tctdbqryaddcond@Base 1.4.47 tctdbqrycount@Base 1.4.47 tctdbqrydel@Base 1.4.47 tctdbqryhint@Base 1.4.47 tctdbqrykwic@Base 1.4.47 tctdbqrynew@Base 1.4.47 tctdbqryproc2@Base 1.4.47 tctdbqryproc@Base 1.4.47 tctdbqrysearch@Base 1.4.47 tctdbqrysearchout2@Base 1.4.47 tctdbqrysearchout@Base 1.4.47 tctdbqrysetlimit@Base 1.4.47 tctdbqrysetorder@Base 1.4.47 tctdbqrystrtocondop@Base 1.4.47 tctdbqrystrtoordertype@Base 1.4.47 tctdbrnum@Base 1.4.47 tctdbsetcache@Base 1.4.47 tctdbsetcodecfunc@Base 1.4.47 tctdbsetdbgfd@Base 1.4.47 tctdbsetdfunit@Base 1.4.47 tctdbsetecode@Base 1.4.47 tctdbsetindex@Base 1.4.47 tctdbsetinvcache@Base 1.4.47 tctdbsetmutex@Base 1.4.47 tctdbsetuidseed@Base 1.4.47 tctdbsetxmsiz@Base 1.4.47 tctdbstrtoindextype@Base 1.4.47 tctdbstrtometasearcytype@Base 1.4.47 tctdbsync@Base 1.4.47 tctdbtranabort@Base 1.4.47 tctdbtranbegin@Base 1.4.47 tctdbtrancommit@Base 1.4.47 tctdbtune@Base 1.4.47 tctdbuidseed@Base 1.4.47 tctdbvanish@Base 1.4.47 tctdbvsiz2@Base 1.4.47 tctdbvsiz@Base 1.4.47 tctime@Base 1.4.47 tctmplconf@Base 1.4.47 tctmpldel@Base 1.4.47 tctmpldump@Base 1.4.47 tctmplload2@Base 1.4.47 tctmplload@Base 1.4.47 tctmplnew@Base 1.4.47 tctmplsetsep@Base 1.4.47 tctopsort@Base 1.4.47 tctreeadddouble@Base 1.4.47 tctreeaddint@Base 1.4.47 tctreeclear@Base 1.4.47 tctreecutfringe@Base 1.4.47 tctreedel@Base 1.4.47 tctreedump@Base 1.4.47 tctreedup@Base 1.4.47 tctreeget2@Base 1.4.47 tctreeget3@Base 1.4.47 tctreeget4@Base 1.4.47 tctreeget@Base 1.4.47 tctreeiterinit2@Base 1.4.47 tctreeiterinit3@Base 1.4.47 tctreeiterinit@Base 1.4.47 tctreeiternext2@Base 1.4.47 tctreeiternext@Base 1.4.47 tctreeiterval2@Base 1.4.47 tctreeiterval@Base 1.4.47 tctreekeys2@Base 1.4.47 tctreekeys@Base 1.4.47 tctreeload@Base 1.4.47 tctreeloadone@Base 1.4.47 tctreemsiz@Base 1.4.47 tctreenew2@Base 1.4.47 tctreenew@Base 1.4.47 tctreeout2@Base 1.4.47 tctreeout@Base 1.4.47 tctreeprintf@Base 1.4.47 tctreeput2@Base 1.4.47 tctreeput3@Base 1.4.47 tctreeput@Base 1.4.47 tctreeputcat2@Base 1.4.47 tctreeputcat3@Base 1.4.47 tctreeputcat@Base 1.4.47 tctreeputkeep2@Base 1.4.47 tctreeputkeep3@Base 1.4.47 tctreeputkeep@Base 1.4.47 tctreeputproc@Base 1.4.47 tctreernum@Base 1.4.47 tctreevals2@Base 1.4.47 tctreevals@Base 1.4.47 tcunlock@Base 1.4.47 tcurlbreak@Base 1.4.47 tcurldecode@Base 1.4.47 tcurlencode@Base 1.4.47 tcurlresolve@Base 1.4.47 tcversion@Base 1.4.47 tcwrite@Base 1.4.47 tcwritefile@Base 1.4.47 tcwwwformdecode2@Base 1.4.47 tcwwwformdecode@Base 1.4.47 tcwwwformencode@Base 1.4.47 tcxmlattrs@Base 1.4.47 tcxmlbreak@Base 1.4.47 tcxmlescape@Base 1.4.47 tcxmlunescape@Base 1.4.47 tcxstrcat2@Base 1.4.47 tcxstrcat@Base 1.4.47 tcxstrclear@Base 1.4.47 tcxstrdel@Base 1.4.47 tcxstrdup@Base 1.4.47 tcxstrfrommalloc@Base 1.4.47 tcxstrnew2@Base 1.4.47 tcxstrnew3@Base 1.4.47 tcxstrnew@Base 1.4.47 tcxstrprintf@Base 1.4.47 tcxstrptr@Base 1.4.47 tcxstrsize@Base 1.4.47 tcxstrtomalloc@Base 1.4.47 tczeromap@Base 1.4.47 tczerounmap@Base 1.4.47 debian/libtokyocabinet-dev.examples0000644000000000000000000000001212145633331014656 0ustar example/* debian/compat0000644000000000000000000000000212145633331010365 0ustar 9