<<< Date Index >>>     <<< Thread Index >>>

Re: feature freeze? (Re: [Announce] mutt-1.5.13 is out)



On Thu, Aug 17, 2006 at 10:35:59AM +0200 I heard the voice of
Thomas Glanzmann, and lo! it spake thus:
> 
> Since in c function arguments are *copied* to the stack and only
> valid during the run of the function (aka call-by-value[1]).

Incorrect in this case, since the argument that's copied is a pointer;
the string is still the same one as in the calling scope.  And folder
is declared a const char *, so you'd get yelled at changing it anyway.


-- 
Matthew Fuller     (MF4839)   |  fullermd@xxxxxxxxxxxxxxx
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.