EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  Index 1994  1995  1996  1997  <19981999  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 
<== Date ==> <== Thread ==>

Subject: RE: error in iocLogServer.c
From: Jeff Hill <[email protected]>
To: "'Pete Jemian'" <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 4 Feb 1998 11:34:31 -0700
> Found an error in EPICS/base/src/util/iocLogServer
> that prevents it from starting correctly on
> my Solaris 2.5.1 platform.

I agree with your change and will be committing it at APS later today.
I suspect that this problem was introduced when the code was ported
to WIN32 (where there isn't an ftruncate() call).

Jeff

On Wednesday, February 04, 1998 10:24 AM, Pete Jemian [SMTP:[email protected]] wrote:
> 
> 
> Found an error in EPICS/base/src/util/iocLogServer
> that prevents it from starting correctly on
> my Solaris 2.5.1 platform.
> 
> Here's the version information from the source code file:
>  * $Log: iocLogServer.c,v $
>  * Revision 1.26  1997/06/25 05:59:23  jhill
> 
> Here's the error message from the faulty version:
> # /etc/rc2.d/S99logServer start
> Starting EPICS Log Server 
> File access problems to `/home/vme/log/iocLog.text' because `Illegal seek'
> exit
> 
> Here's the fix (from diff iocLogServer.c.old iocLogServer.c):
> 320c320
> <               if (ret==TF_OK) {
> ---
> >               if (ret==TF_ERROR) {
> 
> 
> Looks like a simple logic error was the culprit.
> 
> Pete Jemian
> UNICAT
> 
> 

Navigate by Date:
Prev: RE: EPICS r3.13 field VERS Jeff Hill
Next: Re: processing on put to .VAL field William Lupton
Index: 1994  1995  1996  1997  <19981999  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: error in iocLogServer.c Pete Jemian
Next: SOSH 98 Franck DI MAIO
Index: 1994  1995  1996  1997  <19981999  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·