EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: iocshCmd, redirection, and function pointers
From: Andrew Johnson <[email protected]>
To: Eric Norum <[email protected]>
Cc: [email protected]
Date: Wed, 2 May 2012 12:46:33 -0500
Hi Eric,

On 2012-03-14 Eric Norum wrote:
> >> For I/O redirection to work a source file must include
> >> epicsStdioRedirect.h.
> 
> When this was originally implemented we felt it should be optional. 
> Perhaps now after 10 years in the field we should just add
>  #include <epicsStdioRedirect.h>
> in epicsStdio.h.

I'm trying this in the 3.15 tree; it's not quite as easy as you might think 
because of the way we build flex and antelope (and so the epicsGetSdtin() etc. 
routines aren't recursive), but it is possible and I have it working now.

Any last-minute objections to my committing these changes?

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

References:
iocshCmd, redirection, and function pointers Allison, Stephanie
Re: iocshCmd, redirection, and function pointers Dirk Zimoch
Re: iocshCmd, redirection, and function pointers Eric Norum

Navigate by Date:
Prev: Re: [Scopes] BMP image record?? Rod Nussbaumer
Next: Re: [Scopes] BMP image record?? Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: iocshCmd, redirection, and function pointers Ernest L. Williams Jr.
Next: Synchronising CA shut down michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024