Re: More on tilde expansion



Hello Oswald,

On Mon, 2004-09-13 at 17:57, Oswald Buddenhagen wrote:
> On Mon, Sep 13, 2004 at 04:39:49PM +0200, Leonard den Ottolander wrote:
> > So it only doesn't work when copying a single file or directory to ~ or
> > ~username. Why o why?
> > 
> my best bet would be that something relies on the trailing slash ...

The problem appears to originate from file_mask_dialog() in
src/filegui.c (gdb shows dest_dir = g_strdup ("./") gets called for
single file copies to locations without a slash), but the logic of that
function is still rather incomprehensible to me...

Fe, look at
    orig_mask = ctx->dest_mask;
...
	ctx->dest_mask = g_strdup (ctx->dest_mask);
	*orig_mask = 0;

Leonard.

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





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