[Portland] [Bug 7123] xdg-mime has inconsistant output for error cases

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Fri Jun 9 22:50:48 PDT 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=7123          
     




------- Additional Comments From bastian at svn.net  2006-06-09 22:50 -------
Syntax has changed, instead of "xdg-mime --info" use "xdg-mime query filetype"

1. Now returns with 2 --> "One of the files passed on the command line did not 
exist."

With regard to 2 and 3: There is no guarantee that results in different 
environments will be the same, is there a reason why the cases described 
should be treated as special case?

That said, we can do a check for 3 and return an error code for "file not 
readable"          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Portland mailing list