[haiku-development] Re: outsourcing unzip: use of update_mime_info

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 26 Feb 2015 23:13:02 +0100

Am 26/02/2015 um 19:25 schrieb Jérôme Duval:
I noticed that the BeOS code calls update_mime_info() on every written
file, I'm not sure what to do with it. It seems a bit weird for such a
tool to call a system service like that, whereas similar tools (tar,
bzip2) don't. ATM it's left out.
Opinions?

I'd agree with you to leave it out. Either the files already have a MIME type (that was zipped up), or they just don't yet have one.

Bye,
   Axel.


Other related posts: