[bug #15352] Extensions not working
daniel kertesz
savannah-bounces at gnu.org
Mon Jan 2 13:08:14 UTC 2006
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15352>
Summary: Extensions not working
Project: GNU Midnight Commander
Submitted by: sandolo
Submitted on: Mon 01/02/06 at 13:08
Category: Core
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: 4.6.0
Platform Version: GNU/Linux
_______________________________________________________
Details:
Pressing "ENTER" on a filename should execute the action associated with the
file extension, but it doesn't work for me; I only get an error BEEP.
>From 'strace' I discovered that...
temp file for execution is created:
30748 open("/tmp/mc-daniel/mcextuVVMZb",
O_RDWR|O_CREAT|O_TRUNC|O_EXCL|O_LARGEFILE, 0600) = 5
but the exec() get the filename truncated:
30753 execve("zsh", ["zsh", "-c", "/bin/sh /tmp/mc-daniel/mcextuVVM"...], [/*
62 vars */]) = -1 ENOENT (No such file or directory)
As you can see, two letters are missing from the filename:
/tmp/mc-daniel/mcextuVVMZb
/tmp/mc-daniel/mcextuVVM
I get the same behaviour on Slackware (clean build) and Gentoo (ebuild with
patches), while on OpenBSD this work fine; also, this bug occurs with version
4.6.0 and 4.6.1.
GNU Midnight Commander 4.6.0
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, smbfs, undelfs
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
GNU Midnight Commander 4.6.1
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, mcfs, smbfs, undelfs
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15352>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the mc-devel
mailing list