From owner-freebsd-libh Wed Feb 13 13:38:13 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by hub.freebsd.org (Postfix) with ESMTP id 937AB37B416 for ; Wed, 13 Feb 2002 13:38:09 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.186.7]) by tomts9-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020213213808.XGNT12383.tomts9-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Wed, 13 Feb 2002 16:38:08 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id A9D421989 for ; Wed, 13 Feb 2002 16:38:05 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 8044D20ACA; Wed, 13 Feb 2002 16:38:24 -0500 (EST) Date: Wed, 13 Feb 2002 16:38:23 -0500 From: The Anarcat To: Libh Subject: issue with tcl Database::create Message-ID: <20020213213823.GD303@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NQTVMVnDVuULnIzU" Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --NQTVMVnDVuULnIzU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi anarcat@shall[~/libh/release/pkgtools]% ../../compile/none/tclh.static crea= te_db.tcl ./pkg Database created in ./pkg =2E/pkg /opt anarcat@shall[~/libh/release/pkgtools]% ../../compile/none/tclh.static crea= te_db.tcl ./pkg Database created in ./pkg This means that create_db will *always* "work". Ie, now that the Database() constructor doesn't throw an exception when the database is already created, there's no way to detect if a database is indeed created.=20 What could be done would be to make the create() function public instead of just private, so that it could be used from TCL directly. The C++ public create() command could also be re-implemented with create(). Instead. Right now, I don't think this is a so big issue, so I'll leave it aside. A. --NQTVMVnDVuULnIzU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxq3M4ACgkQttcWHAnWiGcBZACeLzpwG55lVgpyz2GbyHKlasz7 5ioAniyELi1obv/o7Z03AaVoSVWsRVln =Nkd+ -----END PGP SIGNATURE----- --NQTVMVnDVuULnIzU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message