gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] alloca


From: Gary E. Miller
Subject: Re: [gpsd-dev] alloca
Date: Tue, 16 Aug 2016 16:00:40 -0700

Yo Hal!

On Tue, 16 Aug 2016 15:54:32 -0700
Hal Murray <address@hidden> wrote:

> I'm not sure why you are using it.  It seems not well loved.

I'll take a patch.  alloca() was already there from a long time ago.
For now I'm just trying to get things to build again.

But just between you and me, I really like alloca().  Dunno why it is
so hated.  With alloca() you can never forget the free() and it
is trivial to code into a library.

>       If the allocation causes stack overflow, program
> behavior is undefined.

Well, duh.  Anything on the stack can do that!

Otherwise, how are the errors going on your end?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpU3JMVly_Th.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]