Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: macLib/msi changes with 3.14.10
From: <nick.rees@diamond.ac.uk>
To: <tech-talk@aps.anl.gov>
Date: Wed, 28 Oct 2009 17:52:00 -0000
Andrew,

Whilst we are on this topic msi used to expand macros in filenames from
the user environment. (Why only from the environment and not from the
command line, I don't know, but that's what it did). This now seems to
be broken because it needs to include EPICS version information to
determine whether to use macEnvExpand. This must have worked at some
point that doesn't any more. To fix this, I applied this patch to
version 1.5 of msi:

Index: msi.c
===================================================================
--- msi.c       (revision 37158)
+++ msi.c       (working copy)
@@ -21,6 +21,7 @@
 #include <ctype.h>
 #include <errno.h>
 
+#include <epicsVersion.h>
 #include <dbDefs.h>
 #include <macLib.h>
 #include <ellLib.h>

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713 

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





Replies:
Re: macLib/msi changes with 3.14.10 Andrew Johnson
References:
Re: macLib/msi changes with 3.14.10 Till Straumann
Re: macLib/msi changes with 3.14.10 Andrew Johnson

Navigate by Date:
Prev: RE: EPICS BACnet Support keith.baker
Next: Re: macLib/msi changes with 3.14.10 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: macLib/msi changes with 3.14.10 Andrew Johnson
Next: Re: macLib/msi changes with 3.14.10 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·