Ticket #414 (new defect) — at Initial Version

Opened 15 years ago

Last modified 15 years ago

Regression: shell patterns in copy dialog do not work

Reported by: vda Owned by:
Priority: major Milestone: 4.7.0-pre2
Component: mc-core Version: 4.6.2
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

I have two directories selected:
busybox.2 and busybox.t2

I press F5 and ask mc to copy *2 to *3:

┌─────────────────────────── Copy ───────────────────────────┐
│ Copy 2 directories with source mask: │
│ *2 [ ] │
│ [x] Using shell patterns │
│ to: │
│ *3 [ ] │
│ [ ] follow Links [ ] Dive into subdir if exists │
│ [x] preserve Attributes [ ] Stable Symlinks │
│ [< OK >] [ Background ] [ Cancel ] │
└────────────────────────────────────────────────────────────┘

It creates directory named "*3", copies busybox.2 to it, then tries to copy busybox.t2 to it and complains when it sees existing files.

Looks like despite "[x] Using shell patterns" option being selected, it does not handle it right.

mc-2.6.1 worked as expected in this situation: it was creating copies named busybox.3 and busybox.t3

Note: See TracTickets for help on using tickets.