From: Mike Hommey Date: Sat, 22 Nov 2008 08:35:23 +0000 (+0100) Subject: Properly launch applications set in $HOME/.mailcap X-Git-Tag: archive/raspbian/1%91.6.1-1_deb10u1+rpi1^2^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=27ba18c6a616870453aafc24df2566724fe8e604;p=thunderbird.git Properly launch applications set in $HOME/.mailcap https://bugzilla.mozilla.org/show_bug.cgi?id=444440 Gbp-Pq: Topic fixes Gbp-Pq: Name Properly-launch-applications-set-in-HOME-.mailcap.patch --- diff --git a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp index 7cbefcce3e..c4bafefa25 100644 --- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp +++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp @@ -53,6 +53,10 @@ nsresult nsMIMEInfoUnix::LaunchDefaultWithFile(nsIFile* aFile) { if (mDefaultApplication) return nsMIMEInfoImpl::LaunchDefaultWithFile(aFile); nsAutoCString nativePath; +/* the name of the function has changed + * the old was the following: + nsCAutoString nativePath; + */ aFile->GetNativePath(nativePath); nsCOMPtr giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID);