Mercurial > ecos
changeset 1173:ad47cd19998d
Do not insist on package versions in a savefile.
| author | bartv |
|---|---|
| date | Tue, 19 Aug 2003 22:34:40 +0000 |
| parents | a3dbe8f7ed98 |
| children | 93665b8f410a |
| files | host/libcdl/ChangeLog host/libcdl/config.cxx |
| diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/host/libcdl/ChangeLog +++ b/host/libcdl/ChangeLog @@ -1,3 +1,10 @@ +2003-08-19 Bart Veer <bartv@ecoscentric.com> + + * 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 <jifl@eCosCentric.com> * doc/package.sgml: Use PNGs instead of GIFs.
--- 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)) {
