More on tilde expansion
Leonard den Ottolander
leonard at den.ottolander.nl
Tue Sep 14 21:40:07 UTC 2004
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
More information about the mc-devel
mailing list