EPICS Controls 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  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [BUG?] dbgrep *O > /tmp/toto
From: Andrew Johnson <[email protected]>
To: Eric Norum <[email protected]>
Cc: TECHTALK Tech-Talk <[email protected]>
Date: Tue, 22 Dec 2009 11:28:59 -0600
On Tuesday 22 December 2009 11:01:50 Eric Norum wrote:
> The fix is simple.  Andrew, please change this on both the trunk and the
> branch.
>
> Change the 'puts' on line 264 of src/db/dbTest.c to a printf:
>             if (epicsStrGlobMatch(pname, pmask)) printf("%s\n", pname);

Following the principle of least surprise (since that's how I broke this in 
the first place), how about we add this to libCom/osi/epicsStdioRedirect.h 
instead?

#ifdef puts
#  undef puts
#endif /* puts */
#define puts(str) epicsStdoutPrintf("%s\n", str)

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harald Welte


Replies:
Re: [BUG?] dbgrep *O > /tmp/toto Eric Norum
References:
[BUG?] dbgrep *O > /tmp/toto Emmanuel Mayssat
Re: [BUG?] dbgrep *O > /tmp/toto Ralph Lange
Re: [BUG?] dbgrep *O > /tmp/toto Eric Norum

Navigate by Date:
Prev: Re: [BUG?] dbgrep *O > /tmp/toto Eric Norum
Next: Re: [BUG?] dbgrep *O > /tmp/toto Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [BUG?] dbgrep *O > /tmp/toto Eric Norum
Next: Re: [BUG?] dbgrep *O > /tmp/toto Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·