KillMime-Version: 1.0

Gary E. Miller gem at rellim.com
Mon Oct 29 20:22:52 UTC 2018


Yo Hal!

On Mon, 29 Oct 2018 12:49:22 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> > Should be easy to fix.  Anyone want to try?  
> 
> Done.

Thanks!

> const int totalLength = 36;
>   char packetPtr[totalLength];
> 
> totalLength needs to be a #define.

Odd.  I woulda thought "const int" would be as constant as a #define...

I just looked at gpsd, much more work needed on that project to kill
the VLAs.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20181029/5b1f8cc8/attachment.bin>


More information about the devel mailing list