Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [05-2002 Date Index] [Date Next] || [Thread Prev] [05-2002 Thread Index] [Thread Next]

[openbeos] MIME type definition

  • From: Sebastian Nozzi <sebnozzi@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 01 May 2002 23:23:43 +0200
Hello,

while working on the implementation of the bin-utilities addattr and 
catattr (adds and dumps content of an attribute, respectively) I noticed 
something worth looking at.

As many of you know each attribute type is defined by a 32-bit constant. 
Those values are defined in /boot/develop/headers/be/support/TypeConstants.h
When testing my versions of these utilites I noticed that while B_MIME_TYPE 
in this file is defined as 'MIME' (and therefore my utilities use that 
value) Be's original versions (and the rest of the OS, I'm afraid) define 
it as 'MIMS'.

Of course the new versions won't work if compiled against incorrect values.

What should I/we do about it? I guess changing the value in the header file 
is the right thing to do, but I wanted to know your opinions about this.
Regards,

Sebastian





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.