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>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hi anarcat@shall[~/libh/release/pkgtools]% ../../compile/none/tclh.static create_db.tcl ./pkg Database created in ./pkg ./pkg /opt anarcat@shall[~/libh/release/pkgtools]% ../../compile/none/tclh.static create_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. 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxq3M4ACgkQttcWHAnWiGcBZACeLzpwG55lVgpyz2GbyHKlasz7 5ioAniyELi1obv/o7Z03AaVoSVWsRVln =Nkd+ -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213213823.GD303>
