[haiku-bugs] Re: [Haiku] #6599: fs_shell parse error during BuildHaikuImage

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 18 Sep 2010 06:16:03 -0000

#6599: fs_shell parse error during BuildHaikuImage
--------------------------------+-------------------------------------------
  Reporter:  Disreali           |         Owner:  zooey         
      Type:  bug                |        Status:  assigned      
  Priority:  normal             |     Milestone:  R1            
 Component:  System/libroot.so  |       Version:  R1/Development
Resolution:                     |      Keywords:                
Blocked By:                     |   Has a Patch:  0             
  Platform:  All                |      Blocking:                
--------------------------------+-------------------------------------------

Comment (by bonefish):

 Replying to [comment:13 aldeck]:
 > {{{
 > char 'a'
 > char 's'
 > isspace (char = 0xffffffe2)
 > isspace (char = 0xffffff80)
 > isspace (char = 0xffffffa6)
 > }}}
 >
 > which looks like the raw utf-8 inverted for the ellipsis: 0xE2 0x80 0xA6

 I'd say the char is sign-extended to int.

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

Other related posts: