[haiku-bugs] Re: [Haiku] #5520: IsWritable / IsReadable methods do not currently check Write/Read mode bits.

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Wed, 03 Mar 2010 13:31:09 -0000

#5520: IsWritable / IsReadable methods do not currently check Write/Read mode
bits.
-------------------------------+--------------------------------------------
  Reporter:  ver               |       Owner:  axeld                      
      Type:  enhancement       |      Status:  closed                     
  Priority:  normal            |   Milestone:  R1                         
 Component:  Kits/Storage Kit  |     Version:  R1/Development             
Resolution:  invalid           |    Keywords:  IsWritable IsReadable BFile
 Blockedby:                    |    Platform:  All                        
  Blocking:                    |  
-------------------------------+--------------------------------------------
Changes (by axeld):

  * blocking:  5521 =>


Comment:

 > Meh, alright, I wasn't aware it would break binary compatibility.

 It breaks compatibility on a functional level - if an application is using
 IsWritable(), it will not work as expected all of a sudden anymore.

 > So, would the solution be to effectively move this check directly into
 StyledEdit code, in that case?

 Yes, indeed, I'm afraid that would be the solution.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5520#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: