Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291234 - app-misc/mc-4.7.0_pre1 doesn't make copy of file by mask correctly
Summary: app-misc/mc-4.7.0_pre1 doesn't make copy of file by mask correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 22:02 UTC by Sergey Torokhov
Modified: 2009-10-31 08:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2009-10-30 22:02:24 UTC
There is wrong behaviour when copy file to another by mask "*" or "?" in "app-misc/mc-4.7.0_pre1". The copy command generate filename with symbols "*" or "?" instead of it's initial name of copied file or part of it in the new name of file.

==================

$ emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 30 Oct 2009 17:00:20 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.KOI8-R"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/distrib/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd apm archive async berkdb branding bzip2 cairo cddb cdparanoia cdr cdrom charconv chardet chm chroot cjk clamav clamd cli consolekit cracklib crypt css ctype cups dbus dga dhcp divx djvu dolby-record-switch dri dts dvd dvdr emoticons-manager enca encode esd ethereal exif expat fam fbcon fbcondecor ffmpeg firefox firefox3 flac flashsupport fontconfig foomaticdb force-cgi-redirect fortran ftp gd gdbm gecko gif gimp glut gmp gpm gstreamer gtk gtk2 gtkhtml guile hal highlight history iconv icq id3 idn imlib irc isdnlog jabber java java5 java6 jpeg jpeg2k kde kdm lame lcms ldap libcaca libnotify libwww lzo mad matroska matrox md5sum memlimit midi mikmod mmx mmxext mng modules motif mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musepack ncurses networking nls nptl nptlonly nsplugin ogg ogg123 openal opengl openmp opera oscar pam pascal pcre pdf pdflib perforce perl png pnm posix ppds pppd python qt qt3 qt3support qt4 quicktime rar raw rdesktop readline realmedia reflection reiser4 reiserfs rle rtc samba sdl session simplexml slang soap sockets speex spell spl srt sse ssl startup-notification subtitles svg sysfs tcltk tcpd tga theora thunar tiff timidity tivo tokenizer truetype type1 udev unicode usb vdr vidix vorbis wavpack win32codecs wma wmp x264 x86 xanim xcomposite xext xine xinerama xml xml2 xorg xosd xpm xsl xulrunner xv xvid xvmc yv12 zip zlib zoran" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1. open mc in terminal typing command "mc"
2. chose file to copy (named "testfile" for example)
3. press F5 functional key on keyboard
4. in the appeared dialog "window" go to the field "to"
5. type in this field next string:  *.oldfile
(or any name with mask with "?") and choose OK (or just press ENTER) 
6. find new file with name "*.oldfile" instead of "testfile.oldfile" and pay attention that it is the copy of initial one.
Comment 1 Rafał Mużyło 2009-10-31 00:33:32 UTC
IIRC, it was fixed in one of the later releases.
There's a lot under-the-hood work done in mc upstream
- a few things were/are broken in the process,
but there's hope, it gets done by 4.7.0.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-31 01:10:36 UTC
app-misc/mc-4.7.0_pre3 is stable for amd64 and x86. Does the problem appear in that version, too?
Comment 3 Sergey Torokhov 2009-10-31 07:46:14 UTC
Well, in the version app-misc/mc-4.7.0_pre3 copying by target mask "*" apparently works. 
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-31 08:21:45 UTC
Then let's mark this bug as fixed. Remember we're talking about pre-versions here where it's not that uncommon that bugs can be found ;)