# HG changeset patch # User bartv # Date 1061332480 0 # Node ID ad47cd19998d17d7ed78043b1343d4a0ca2bc183 # Parent a3dbe8f7ed98035a650673252a407bff49acdda8 Do not insist on package versions in a savefile. diff --git a/host/libcdl/ChangeLog b/host/libcdl/ChangeLog --- a/host/libcdl/ChangeLog +++ b/host/libcdl/ChangeLog @@ -1,3 +1,10 @@ +2003-08-19 Bart Veer + + * config.cxx (savefile_package_command): + If no version is specified, silently default to the most recent. + That can avoid problems with templates specifying particular versions + and then providing an update epk. + 2003-05-01 Jonathan Larmour * doc/package.sgml: Use PNGs instead of GIFs. diff --git a/host/libcdl/config.cxx b/host/libcdl/config.cxx --- a/host/libcdl/config.cxx +++ b/host/libcdl/config.cxx @@ -1790,8 +1790,7 @@ CdlConfigurationBody::savefile_package_c int data_index = CdlParse::parse_options(interp, "cdl_configuration/package command", optlist, argc, argv, 1, options); if (data_index == (argc - 1)) { - CdlParse::report_warning(interp, "", std::string("Missing version information for package `") - + argv[argc - 1] + "'."); + // If no version is specified, silently default to the most recent. pkgname = argv[argc - 1]; pkgversion = ""; } else if (data_index == (argc - 2)) {