From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.sources,gmane.lisp.guile.user Subject: Guile-GDBM 1.2.0 available Date: Wed, 09 Feb 2022 05:50:28 -0500 Message-ID: <87tud8mhzf.fsf@gnuvola.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16421"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: guile-sources@gnu.org Original-X-From: guile-sources-bounces+guile-sources=m.gmane-mx.org@gnu.org Wed Feb 09 11:51:12 2022 Return-path: Envelope-to: guile-sources@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHkZ5-0003yz-Ix for guile-sources@m.gmane-mx.org; Wed, 09 Feb 2022 11:51:11 +0100 Original-Received: from localhost ([::1]:36394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHkZ4-0000zH-8p for guile-sources@m.gmane-mx.org; Wed, 09 Feb 2022 05:51:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHkYu-0000xT-LC; Wed, 09 Feb 2022 05:51:00 -0500 Original-Received: from delivery.mailspamprotection.com ([185.56.85.144]:38083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHkYp-0003Dc-VL; Wed, 09 Feb 2022 05:50:58 -0500 Original-Received: from 241.110.209.35.bc.googleusercontent.com ([35.209.110.241] helo=giow1035.siteground.us) by se22.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1nHkYk-0000gT-Fk; Wed, 09 Feb 2022 04:50:52 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnuvola.org ; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9/aNH0s55WNZGT32hpgE7rv8k4GMSyBwGVVLHnUgAYA=; b=Si0eTdJRbTKiOlAzJ+3aRChhmf QvVn384M58R5y7+9un0yH5hLjEMTfsYto6mAF7jhYNPWS3m/B5KyV/BxE4Klpoc/CmetI3O08D5Zz LP2TB6xmgru+U6dtKuOEn0tGu59dbm8FnhAMBjk7GdQm6iNat/XByWQSfnN898/PcJhw=; Original-Received: from [50.89.166.226] (port=34380 helo=abolire) by giow1035.siteground.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.90-.1) (envelope-from ) id 1nHkYk-0002i3-3V; Wed, 09 Feb 2022 10:50:50 +0000 X-Originating-IP: 35.209.110.241 X-SpamExperts-Domain: giow1035.siteground.us X-SpamExperts-Username: 35.209.110.241 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.209.110.241@giow1035.siteground.us X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.09) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT/VFTVm8L4jrWugnU7kyCyvPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zX/gzokhrDyiHKEBiVQ+UUE71qcx+4ReldH/AYt0pSXG5V TtAhoYiJts6L+FeUiVyzFTRqUk3xj4GX+CqJAgxTBsUJWk98kGfNjMd0az8MA2Xx2azEPCntGfKY yhVHoInc8Cs6wUIJbtJxrtbHxoENfDcKA9gGZOtgCTvcQHgB2oQ9+c+9eAtddZDlyj+Zd/TQCFYQ wi9DDa51qCUYr9VQwPqsxMiHSq2oknvjZOOU9r5cgbYBbpZGGmEPUGtxasSQTl/4McWyClumdnau bggW5n9w1PVTauz5iqgaroTyP/yRUzBJtPq+i72Pm7YoIgiXtcCZf0OdHMgfZW2SGg32AspWjTQI HqlmdbMOLmeEPkpCHkq3t2QWc5y7R2vgTKTvxnrnHtOKPp7r4O3DezwNkL/+h1aL2OqtpSX2AHJE JUCbUeEMVjDon5rfSznEF9Wn0xds8xzlI9bNNBd60Uaa8mMyJDgFo/mHY9crcYO2bDSdOTsit4bJ l5ckPNzAUKD6Bfy1T3PwsUos1yNYdTOG17NirEYyqwqMBGrw8ELiqDAff04cDRXGaP/Cy6sgzmsE /Xy9bqh2t87xwDNJ1ZQn9Z1kUo7APEynsyHYUP3usgPt8rNcco5Lt6ku63DkksyWUQhsiRV7ToHt 3HSONnNjcxw3qqhc+N6cuEg4XWh5FmdlgpEWziJwQtUee+sRGgbBvbelFqsUN+/15v7PJZqGNQJK ix/i2eAz+7bGQ+NigCZ3F+/6MS9Fi X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Received-SPF: pass client-ip=185.56.85.144; envelope-from=ttn@gnuvola.org; helo=delivery.mailspamprotection.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-sources@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Guile source code postings and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-sources-bounces+guile-sources=m.gmane-mx.org@gnu.org Original-Sender: "guile-sources" Xref: news.gmane.io gmane.lisp.guile.sources:594 gmane.lisp.guile.user:18047 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable release notes: Most changes from GDBM 1.10 to 1.19 are now included. Explicitly not included are dump/load (export/import) procs. There are command-line tools for that, probably. Somewhat ironically, the new stuff has a lot to do w/ error handling, yet there are no new tests for Guile-GDBM. That's what that big ".0" is for -- a warning to the wise! README excerpt: Guile-GDBM is a Guile module that provides Scheme bindings to the GNU dbm library. It was originally written by Martin Grabm=C3=BCller and is now released under the GNU General Public License (GPL) version 3. NEWS for 1.2.0 (2022-02-09): - distribution now .tar.lz If you have GNU tar, you can use "tar xf" and it will DTRT. If not, you can use "lzip -dc TARBALL | tar xf -" to unpack it. - configure script takes =E2=80=98--with-gdbm=3DPFX=E2=80=99 If this option is used, the configure script expects to find gdbm.h in PFX/include and libgdbm in PFX/lib. - meaningful return value These procs now return =E2=80=98#t=E2=80=99 on success: gdbm-store! gdbm-delete! gdbm-reorganize! gdbm-setopt! (Their return value used to be unspecified.) These procs likewise return =E2=80=98#t=E2=80=99 on success, if the GDB= M version supports it in the underlying C function: gdbm-sync! gdbm-close! - new procs - gdbm-errsym This returns a symbol representing the underlying GDBM C value =E2=80=98gdbm_errno=E2=80=99. - gdbm-strerror This returns the string associated w/ its arg, an error symbol, or =E2=80=98#f=E2=80=99 if that symbol is not recognized. - happy-to-throw This examines and controls the "happy to throw" bit. See manual. - documentation improvements - exception throwing mentioned These procs are now documented to throw exception on error: gdbm-open! gdbm-setopt! gdbm-getopt - Guile auto-compilation suppressed The shell var =E2=80=98GUILE_AUTO_COMPILE=E2=80=99 is set to "0" and ex= ported to the environment in both the configure script and the test runner script. This suppresses automatic .scm -> .go compilation for those steps. During "make" you still need to do this yourself. - new functionality from GNU dbm 1.13 (2017-03-11) - new =E2=80=98gdbm-getopt=E2=80=99 option: blocksize This returns the block size used for transfer between memory and the database file on disk. - new =E2=80=98gdbm-open=E2=80=99 flag: bsexact This flag causes =E2=80=98gdbm-open=E2=80=99 to fail if the requested= block size cannot be used without adjustment. It is not useful at present since Guile-GDBM uses the "system block size" unconditionally (there is no way to request a different value). If you really do need to specify a block size, please file a bug report and we'll work things out in a future Guile-GDBM release. - new proc: gdbm-recover Due to the nature of this proc's operating context, it is not currently tested during the "make check" step. Experience reports welcome (as are workable tips on how to test it!). See manual. - new proc: gdbm-last-errsym Like =E2=80=98gdbm-errsym=E2=80=99, on a per-db basis. - new proc: gdbm-last-syserr Return the =E2=80=98errno=E2=80=99 (if any) associated w/ the last pe= r-db error. - new proc: gdbm-check-syserr Return =E2=80=98#t=E2=80=99 if the system =E2=80=98errno=E2=80=99 sho= uld be checked to get more info on the given error code (a symbol). - new proc: gdbm-clear-error Clear the per-db error state. - new proc: gdbm-db-strerror Like =E2=80=98gdbm-strerror=E2=80=99, but specific to a db. Sometime= s more informative, too. - new proc: gdbm-needs-recovery? Return =E2=80=98#t=E2=80=99 if the db is in an inconsistent state and= needs to be recovered (with =E2=80=98gdbm-recover=E2=80=99). - new proc: gdbm-copy-meta Copy file ownership and mode information from =E2=80=98src=E2=80=99 d= b handle to =E2=80=98dst=E2=80=99 db handle. Both must be open. - new proc: gdbm-count This was introduced in GNU dbm 1.11 (2013-12-25). If you're running a version older than that, =E2=80=98gdbm-count=E2=80=99 returns= =E2=80=98#f=E2=80=99. - bootstrap/maintenance tools upgraded: GNU gnulib 2022-01-27 07:00:41 as before: Guile-BAUX 20211208.0839.a5245e7 GNU Autoconf 2.71 GNU Automake 1.16.5 GNU texinfo 6.8 source code in dir: https://www.gnuvola.org/software/guile-gdbm/ =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) ; (2022) Software Libero (pcase (context query) ; =3D Dissenso Etico (`(technical ,ml) (correctp ml)) ...)) 748E A0E8 1CB8 A748 9BFA =2D-------------------------------------- 6CE4 6703 2224 4C80 7502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iG4EARECAC4WIQR0jqDoHLinSJv6bORnAyIkTIB1AgUCYgOcdRAcdHRuQGdudXZv bGEub3JnAAoJEGcDIiRMgHUCO58AniNSxORROBZOEF5wqDoBoONCaD3TAKCuSEhP 6XsfgjOUx8jt2GupnF0yiA== =C7Vc -----END PGP SIGNATURE----- --=-=-=--