EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: converting strings to integer
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Wed, 13 Dec 2017 10:43:18 -0600
Hi Dirk,

On 12/13/2017 07:00 AM, Dirk Zimoch wrote:
> I noticed that I can use hex numbers in DOL with EPICS 7 but not with
> 3.16.1, 3.15.5 or earlier.
> 
> What about adding this option to 3.15/3.16?

Code to allow the use of hex numbers in CONSTANT links was committed to
the Base-3.15 branch in June:

> commit 9d4a90ac34cc6decc0e12837b5bab45586e8c518
> Author: Andrew Johnson <[email protected]>
> Date:   Thu Jun 22 14:29:04 2017 -0500
> 
>     Fix link initialization from hex constants
>     
>     Fixes LP: #1699445
>     Includes regression tests (some of which will fail on 3.16)

This was fixing a regression, my restructuring of the constant link code
(which was a necessary part of the link support development) changed the
string to integer conversions from using a mixture of  strtol(),
strtoul() and sscanf() with %i or %u formats. The regression first
appeared in 3.14.12.3 and 3.15.0.1, and the above commit will fix it for
the 3.15.6 and 3.16.2 releases which we'll probably put out early in 2018.

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
Re: converting strings to integer Dirk Zimoch
References:
converting strings to integer Dirk Zimoch

Navigate by Date:
Prev: Re: Doxygen documentation outside source files Andrew Johnson
Next: Re: converting strings to integer Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: converting strings to integer Dirk Zimoch
Next: Re: converting strings to integer Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·