[haiku-bugs] Re: [Haiku] #9140: KDL when configure bison-2.6.4

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 10 Sep 2013 16:03:33 -0000

#9140: KDL when configure bison-2.6.4
-----------------------------+-----------------------
   Reporter:  diger          |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  critical       |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/alpha4
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+-----------------------

Comment (by bonefish):

 Replying to [comment:20 siarzhuk]:
 > The only call of VNodePutter::Put is "protected" by if (... && traverse)
 so it should not be issued in case traverse is false. But it did.

 `VNodePutter` is a RAII style class. `Put()` is also called  in the
 destructor.

 There's an erroneous `put_vnode()` (probably overlooked when changing the
 code to use `VNodePutter`) in an [http://cgit.haiku-
 
os.org/haiku/tree/src/system/kernel/fs/vfs.cpp?id=378a2b8580ccd801cac363a83a6ea1fd35f199ca#n5263
 error case]. So I suppose there already exists a symlink where the file
 shall be created.

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

Other related posts: