[haiku-development] outsourcing unzip: use of update_mime_info

  • From: Jérôme Duval <jerome.duval@xxxxxxxxx>
  • To: haiku-development <haiku-development@xxxxxxxxxxxxx>
  • Date: Thu, 26 Feb 2015 19:25:51 +0100

Hi!

I'm in the process of outsourcing the unzip command. It seems that the
beos code is an old copy of the Unix code with attributes support, and
hasn't received official updates since 2004 or so.
To ease future patching and maintenance, I chose to merge the
attributes support in the current Unix code, where some attributes
support today exists.

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?

Bye,
Jérôme

Other related posts: