More on tilde expansion

Leonard den Ottolander leonard at den.ottolander.nl
Wed Sep 15 13:12:43 UTC 2004


Hello Jakub,

On Wed, 2004-09-15 at 14:44, Jakub Jelinek wrote:
> +    g_free (orig_mask);
> +    char *tmpdest = dest_dir;
> +    dest_dir = tilde_expand(tmpdest);
> +    g_free(tmpdest);
> 
> Unless ISO C99 compiler is required to build mc, char *tmpdest; either
> needs to go up, or you need to add {} around the 3 lines that reference
> tmpdest.

Ok. Fixed by moving the declaration to the top.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tilde-expand.patch
Type: text/x-patch
Size: 1769 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20040915/19f066e7/attachment.bin>


More information about the mc-devel mailing list