Re: More on tilde expansion



On Wed, Sep 15, 2004 at 02:41:33PM +0200, Leonard den Ottolander wrote:
> src/filegui.c so this function returns tilde expanded values. See
> attached patch (against CVS-20040915) for details (and please verify its
> validity).

+    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.

	Jakub



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