[Asterisk-Dev] Re: [Asterisk-cvs] asterisk/apps app_directory.c,1.15,1.16

Thorsten Lockert tholo at sigmasoft.com
Wed Apr 28 05:15:32 MST 2004


I already did a long time ago...  It is in there as ast_strdupa(), and is
what should be used instead of just strdupa()...

Thorsten 

-----Original Message-----
From: asterisk-dev-admin at lists.digium.com
[mailto:asterisk-dev-admin at lists.digium.com] On Behalf Of Olle E. Johansson
Sent: Wednesday, April 28, 2004 7:56
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] Re: [Asterisk-cvs] asterisk/apps
app_directory.c,1.15,1.16

markster at lists.digium.com wrote:

> +	context = strdupa(data);

Not found on FreeBSD...

Alloca is found though.

Strdup needs free();

Anyone that can come up with a strdupa function?

/O
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list