|
|
| Author |
Message |
< Erlang bugs mailing list ~ relup always starts new applications permanently |
| Guest |
Posted: Wed Dec 23, 2009 5:41 pm |
|
|
|
Guest
|
Hello,
I think I've encountered a bug in relup generation. If a new application appears in the rel file, make_relup generates an add_application primitive, which in turn generates a line which is always like :
{apply,{application,start,[new_application,permanent]}}
systools_relup and systools_rc:translate_application_instrs/3 (line 326)
However, the new application might have a different start type in the new .rel file. In some cases, it may even be loaded only (and not started). I believe we might need a new option in the add_application primitive to include the start type and translate this type accordingly with :
permanent -> {apply,{application,start,[Application,permanent]}}
transient -> {apply,{application,start,[Application,transient]}}
temorary -> {apply,{application,start,[Application,temporary]}}
load -> {apply,{application,load,[Application]}}
none -> just nothing
Regards,
Paul
--
Semiocast http://titema.com/
+33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris
________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|