From 9ee938f0b411180a4bb42513c248671579838af7 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Sun, 24 Jul 2011 11:06:59 -0700 Subject: [PATCH] Replace package in work library when I get a new one. --- vhdlpp/library.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhdlpp/library.cc b/vhdlpp/library.cc index 7a8509aba..15f38a624 100644 --- a/vhdlpp/library.cc +++ b/vhdlpp/library.cc @@ -246,7 +246,7 @@ static void store_package_in_work(const Package*pack) { string path = make_work_package_path(pack->name()); - ofstream file (path.c_str(), ios_base::out|ios_base::app); + ofstream file (path.c_str(), ios_base::out); pack->write_to_stream(file); }