Hello Bernd,

> thanks  for hunting that down. However I dont understand:
> 
> - first of all the line numbers dont match. The line you cnaged in below  
> patch is in line 1322 for me.
> Is it possible you use a source which is different from debian? Please use
> "apt-source" to get the orgininal tar and the patches. Optionally you may
> want to send me the full file.

Sorry for the confusion. In my original report, where I provided the
patch as additional information to bug #179337 I was more specific but
that one was ignored (Fri, 15 Apr 2005 18:10:41). To debug mmv properly,
I first protoize'd it, that's where the different line numers come from.
I verified (also already in the original submisson) that the line number
in the original file is 1322 as you noted. My mentioning of line 1378
(else if (fdel != NULL)) also pertained to the original version. The
actual segfault then happens in line 1379 (*pnto = fdel->fi_name).

> - second in my source I am not sure I can follow your explanation, could you
>   please elaborate  again with the correct line numbers. Are we talking
>   about the op & DIRMOVE case or about the other?

The other. In my reproducible case, I use 
 mmv -c TREE1/Folder\*/\*.1d TREE2/Folder\#1/\#2.1d
to copy files from one subtree to another, where some of the target
directories don't exist. When everything works correctly, mmv asks
whether to copy those files for which the target directories exist.
That question is never asked in the distributed version, however, since
fdel is not assigned a value before being tested when the target doesn't
exist.

Thanks for your work and best regards,
Bernd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to