From 618aa69b015bd3ee1f6e19f3025e31fae0241826 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 9 Feb 2004 11:59:39 +0000 Subject: * In `--upgrade': added flags `--lt', `--leq', `--always' to specify whether we want to upgrade if the current version is less than the available version (default), when it is less or equal, or always. * Added a flag `--dry-run' to show what would happen in `--install', `--uninstall', and `--upgrade', without actually performing the operation. --- src/nix-env/names.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nix-env/names.cc') diff --git a/src/nix-env/names.cc b/src/nix-env/names.cc index 252b07b91caa..c6054d6c1bef 100644 --- a/src/nix-env/names.cc +++ b/src/nix-env/names.cc @@ -1,6 +1,12 @@ #include "names.hh" +DrvName::DrvName() +{ + name = ""; +} + + /* Parse a derivation name. The `name' part of a derivation name is everything up to but not including the first dash *not* followed by a letter. The `version' part is the rest (excluding the separating -- cgit 1.4.1