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  2009  2010  2011  2012  <20132014  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  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: motor record: continuously update limit switches
From: "Konrad, Martin" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 12 Aug 2013 16:01:40 +0000
Hi Mark,
 > I would replace
>
> (char) NULL
>
> with
>
> NULL
I think '\0' is a better choice here. It makes clear that we are 
terminating a string here and not using a pointer.
By the way: In this context NULL also results in a warning with modern 
compilers.

> The (char *) is not needed.
Of course you're right.

I changed both: 
https://github.com/mark0n/motorRecord/commit/71aac21168ebe6b8295991a9c5018fc501e4ee6b

Thanks,

Martin


References:
motor record: continuously update limit switches Konrad, Martin
Re: motor record: continuously update limit switches Konrad, Martin
Re: motor record: continuously update limit switches Konrad, Martin
RE: motor record: continuously update limit switches Williams Jr., Ernest L.
Re: motor record: continuously update limit switches Ron Sluiter

Navigate by Date:
Prev: RE: EtherCAT [SEC=UNOFFICIAL] graham.cox
Next: AW: [asyn] link already open! Zimoch Dirk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: motor record: continuously update limit switches Mark Rivers
Next: Re: motor record: continuously update limit switches Konrad, Martin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·