[haiku-bugs] Re: [Haiku] #6329: GCC2 compilation failure under Ubuntu Linux 10.04 (Lucid).

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 18 Jul 2010 21:12:58 -0000

#6329: GCC2 compilation failure under Ubuntu Linux 10.04 (Lucid).
---------------------------+------------------------------------------------
  Reporter:  bga           |         Owner:  bga           
      Type:  bug           |        Status:  assigned      
  Priority:  normal        |     Milestone:  R1            
 Component:  Build System  |       Version:  R1/Development
Resolution:                |      Keywords:                
Blocked By:                |   Has a Patch:  1             
  Platform:  All           |      Blocking:                
---------------------------+------------------------------------------------
Changes (by bonefish):

  * owner:  bonefish => bga
  * status:  new => assigned


Comment:

 Shisui, thanks for the patch! It is unnecessarily complicated, though. The
 to be replaced `strcpy(string, string + x)` is semantically equivalent to
 `memmove(string, string + x, strlen(string + x) + 1)`, with the latter
 handling the potential overlap correctly.

 Bruno, assigning to you. If you can verify this fixes the problem, please
 apply the change and close the ticket.

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

Other related posts: