Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 410223

Summary: app-misc/mc-4.8.2-r2 `mcdiff <none_existent_file> <none_existent_file>` doesn't display error message
Product: Gentoo Linux Reporter: Marcin Mirosław <bug>
Component: Current packagesAssignee: Alex Alexander (RETIRED) <wired>
Status: RESOLVED FIXED    
Severity: minor CC: desktop-misc, slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://www.midnight-commander.org/changeset/118d7c1d1d2c96614b051076ace95ce0e4eb10a2
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcin Mirosław 2012-03-30 10:09:51 UTC
Much time has passed since the last time I found something interesting in mc;)
When i run mcdiff and one of files is non existent (or not readable) then diff command throws message error and almost in the same moment midnigh commander clears error message from diff. So i can see message error only for a very short moment and it is cleared.

Reproducible: Always

Actual Results:  
I can't see what did wrong.

Expected Results:  
I'd like to see why i can't see diff beetwen files.

I tried on TERM=xterm and TERM=screen (tmux).
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2012-04-22 15:13:53 UTC
> Much time has passed since the last time I found something interesting in
> mc;)
> When i run mcdiff and one of files is non existent (or not readable) then
> diff command throws message error and almost in the same moment midnigh
> commander clears error message from diff. So i can see message error only
> for a very short moment and it is cleared.

Yeah, thanks for the report!
I've pinged guys in jabber room and they have cooked the fix for you:

    https://www.midnight-commander.org/changeset/118d7c1d1d2c96614b051076ace95ce0e4eb10a2(In reply to comment #0)

Should be included in just arrived =app-misc/mc-4.6.3

Thanks again!
Comment 2 Marcin Mirosław 2012-04-30 07:52:21 UTC
Thanks, now mc displays nice message.