Thread: [Fremantle Maemo5+Harmattan Maemo6] Midnight Commander
View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#119
Originally Posted by Mentalist Traceur View Post
But if we must expect a GNU-compatible diff, I'd recommend we rather have mc patched to invoke /usr/bin/gnu/diff directly, and not screw with people's PATHs.
But then if *my* (and your) GNU diff (or compatible) is in /usr/local/bin your outta luck.

Adding a wrapper to MC so that by default /usr/bin/gnu is in front of everything else is OK because people like you or me who may have a better diff somewhere else can work around the issue in no time.

It's bad enough that MC hardcodes GNUisms but asking the maintainer to hardcode a PATH is IMHO a bad move. Shell wrappers are easy to tweak/patch/remove. Hardcoded paths is not my idea of fun
 

The Following 2 Users Say Thank You to reinob For This Useful Post: