I ran across a small bug in iocLogServer.c while trying to build it for an embedded ARM system.
There is a section in the routine seekLatestLine where EOF is compared to a 'char' variable - it
should be an int.
--- /home/jennings/development/epics/base-3.14.12.2/src/util/iocLogServer.c 2011-12-12 14:14:45.000000000 -0600
+++ /home/jennings/development/epics/iocLogServerStandalone/iocLogServer.c 2012-10-31 13:22:16.311818954 -0500
@@ -289,7 +289,7 @@
}
}
else {
- char c = fgetc (pserver->poutfile);
+ int c = fgetc (pserver->poutfile);
/*
* bypass the line if it does not match the expected format
Guy Jennings
- Replies:
- Re: Bug in iocLogServer Andrew Johnson
- Navigate by Date:
- Prev:
Re: extensionsTop 20120904 disable XRT/graph by default patch Janet Anderson
- Next:
Re: Bug in iocLogServer Andrew Johnson
- 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: How to debug an IOC running on MSWindows using windbg Ahed Aladwan
- Next:
Re: Bug in iocLogServer Andrew Johnson
- 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
|