Date: Wed, 13 Feb 2002 16:38:23 -0500 From: The Anarcat <anarcat@anarcat.dyndns.org> To: Libh <freebsd-libh@freebsd.org> Subject: issue with tcl Database::create Message-ID: <20020213213823.GD303@shall.anarcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213213823.GD303>