From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#1028: Improvement: Persistent Hash Store with GDBM Date: Mon, 29 Feb 2016 15:52:24 +1100 Message-ID: <87a8mkxgmv.fsf@gnus.org> References: <48DC4CA8.5010901@sympatico.ca> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456721603 22099 80.91.229.3 (29 Feb 2016 04:53:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 04:53:23 +0000 (UTC) Cc: 1028@debbugs.gnu.org To: barry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 29 05:53:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aaFpW-0001D1-Li for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 05:53:10 +0100 Original-Received: from localhost ([::1]:34050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaFpW-0002uK-5w for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 23:53:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaFpR-0002tF-LW for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaFpO-00065I-F2 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:53:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaFpO-00065E-Bq for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aaFpO-0001Vj-7W for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Feb 2016 04:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1028 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 1028-submit@debbugs.gnu.org id=B1028.14567215765793 (code B ref 1028); Mon, 29 Feb 2016 04:53:02 +0000 Original-Received: (at 1028) by debbugs.gnu.org; 29 Feb 2016 04:52:56 +0000 Original-Received: from localhost ([127.0.0.1]:51332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFpH-0001VN-Su for submit@debbugs.gnu.org; Sun, 28 Feb 2016 23:52:56 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:48388) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFpG-0001VF-0l for 1028@debbugs.gnu.org; Sun, 28 Feb 2016 23:52:54 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaFoq-0002Bu-RS; Mon, 29 Feb 2016 05:52:29 +0100 In-Reply-To: <48DC4CA8.5010901@sympatico.ca> (barry's message of "Thu, 25 Sep 2008 22:44:56 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aaFoq-0002Bu-RS MailScanner-NULL-Check: 1457326349.78662@fnrwE/fYURHkFBmhM4Lgvg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114089 Archived-At: barry writes: > This is not a bug but an enhancement, which implements persistent > hash store using gdbm to effect the storage. > > The code is in file gdbm.c (below), with some minor > changes to Makefile.in (in the emacs/src directory) and > emacs.c to include the new functions into the emacs build. > > The new functions are as follows and mirror the > equivalent functions in the gdbm package itself: > > 1. gdbm-open > 2. gdbm-close > 3. gdbm-fetch > 4. gdbm-store > 5. gdbm-delete > 6. gdbm-exists > 7. gdbm-firstkey > 8. gdbm-nextkey > 9. gdbm-sync > 10.gdbm-reorganize These days, an SQLite backend or something would probably be more useful, but I don't really see much of a use case for accessing a gdbm database from Emacs, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no