Experimental Physics and Industrial Control System
|
On Friday 20 August 2010 10:31:35 Ralph Lange wrote:
>
> msi.c
> Revision 1.10 Committed 2004-06-23 23:09:20 by norume
> Log: Limit scope of macro definitions to a single template file
>
> That change became part of msi-1.4, which was tagged on 14 Jun 2004
> (despite the EPICS web site saying it was released 25 Jun 2007).
Actually that's not when it was tagged, just when the last commit was made to the msi.c file before the 1-4 release (CVS doesn't record any metadata about tags). If you take a look at the Readme.1st file you'll see that it was added on 2007-06-25 and tagged R1-4, agreeing with the website's release date.
> btw. I did not find any tech-talk messages discussing this problem
That's most likely because we probably just discussed it in the corridor here at APS. MSI is supposed to replicate the behaviour of the dbLoadTemplates command on the IOC, so I think the change made by Eric has to stay in since it previously didn't do that properly (dbLoadTemplates does clear out the old variable definitions for every new set of substitutions).
I think Ben's "global { <definition-list> }" syntax provides a good solution, and I'll be happy to merge a patch that implements it in MSI. I will work on adding it to base/src/dbtools as well to keep the functional equivalence in dbLoadTemplates.
On the question of converting MSI's CVS history to something else, I should note that this would be the first extension tool that we've done that for. I will put it on my list to work on, but I would like to delay that until after the 3.14.12 release which I see as more important.
- Andrew
--
The best FOSS code is written to be read by other humans -- Harald Welte
|
- References:
- msi again Benjamin Franksen
- Navigate by Date:
- Prev:
Re: hex stream processing with StreamDevice? Eric Norum
- Next:
MEDM/Motif problem Andrew Wagner
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
msi again Benjamin Franksen
- Next:
Re: msi again Benjamin Franksen
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|