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
<2009>
2010
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
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|