After thinking about it, I don't know what I was thinking :(.
Sorry for wasting you time.

Chad

On Thu, 23 Mar 2000, Matthew Dillon wrote:

> 
> :
> :In the case of malloc(), wmesg is set to type->ks_shortdesc, which is
> :not part of the current functions stack, so it is safe for malloc
> :to return.  Unless I am wrong, "string", is an automatic variable, and
> :when the current function returns it is no longer vaild.
> :
> :With tsleep() this would never be a problem as tsleep() blocks.
> :
> :Chad
> 
>     No.  "string" is a 'const char *' -- it is global read-only data.  
>     It is most certainly not an automatic function variable.
> 
>                                       -Matt
> 
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to