From owner-freebsd-libh Sat Oct 20 10:45:34 2001 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id BC1F037B405 for ; Sat, 20 Oct 2001 10:45:32 -0700 (PDT) Received: (from nra@localhost) by usw4.freebsd.org (8.11.6/8.11.6) id f9KHjVQ57143 for libh@FreeBSD.org; Sat, 20 Oct 2001 12:45:31 -0500 (CDT) (envelope-from nra) Message-Id: <200110201745.f9KHjVQ57143@usw4.freebsd.org> From: Nathan Ahlstrom Date: Sat, 20 Oct 2001 12:45:31 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cd.cc 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 nra 2001/10/20 12:45:31 CDT Modified files: lib/sysinstall Database.cd.cc Log: Fix the problem where running 'tclh.static create_db.tcl /blah' would respond with an error message about Database::create being an invalid command. The perl script that constructs the TCL interface searches for LanguageInterface::Object::ClassDescription ([^\s]+)::sClassDescription in many of the *.cd.cc files; this regular expression does not allow a newline in the sClassDescription declaration. In Revision 1.4 of Database.cd.cc a newline was introduced to the Database::sClassDescription which removed the Database methods from the generated TCL interface, thus breaking the pkgtools/create_db.tcl script (and possibly other tcl scripts). I have edited Database.cd.cc to remove the newlines from all of the LanguageInterface::Object::* declarations. Revision Changes Path 1.5 +4 -7 libh/lib/sysinstall/Database.cd.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message