Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2001 12:45:31 -0500 (CDT)
From:      Nathan Ahlstrom <nra@usw4.freebsd.org>
To:        libh@FreeBSD.org
Subject:   cvs commit: libh/lib/sysinstall Database.cd.cc
Message-ID:  <200110201745.f9KHjVQ57143@usw4.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110201745.f9KHjVQ57143>