EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  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  Index 1994  1995  <19961997  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 
<== Date ==> <== Thread ==>

Subject: Re: bug in dbStaticLib
From: [email protected] (Rozelle Wright)
To: [email protected]
Date: Wed, 5 Jun 96 11:34:20 MDT
Hi everyone,
Marty fixed a bug for me in base/src/dbStatic/dbStaticRun.c and
dbStaticNoRun.c where DBF_FWDLINK is processed.  If anyone else
is having problems with the static library producing core dumps
and can't wait for the next release, here is the fix.
Rozelle



----- Begin Included Message -----


Thanks for finding bug. The code should be.

            if(!plink) return(FALSE);
            if(plink->type!=CONSTANT) return(FALSE);
            if(plink->value.constantStr == 0) return(TRUE);
            if(!pflddes->initial) return(FALSE);
            if(strcmp(plink->value.constantStr,pflddes->initial)==0)
                return(TRUE);
            return(FALSE);


Note that bug is in both dbStaticRun and dbStaticNorun.
I looked and I did test for !pflddes->initial everywhere else I looked.
Will be fixed in next release.


Marty


Navigate by Date:
Prev: Developments regarding PC hardward and software platforms Bob Dalesio
Next: Software Engineering Position SIBLEY
Index: 1994  1995  <19961997  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: dm colour rules with -ve values David Terrett
Next: Software Engineering Position SIBLEY
Index: 1994  1995  <19961997  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