[Portland-bugs] [Bug 93442] xdg-open: open_mate (and others), consider adding open_generic fallback, remove references to deprecated mate-open

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 19 18:50:05 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93442

--- Comment #9 from Rex Dieter <rdieter at math.unl.edu> ---
Good catch.

Prior to my latest commit, xdg-open had an inconsistent hodge-podge:

$ grep null xdg-open.in 
    if gvfs-open --help >/dev/null 2>&1; then
    if gvfs-open --help >/dev/null 2>&1; then
    elif gnome-open --help >/dev/null 2>&1; then
    if gvfs-open --help 2>/dev/null 1>&2; then
        command_exec=`which $command 2>/dev/null`
        if which run-mailcap 2>/dev/null 1>&2; then
        if has_display && mimeopen -v 2>/dev/null 1>&2; then

I suppose we can standardize on the 2>/dev/null 1>&2 variant, sure (fixed in
followup commit)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20151220/313c231f/attachment.html>


More information about the Portland-bugs mailing list