Skip to content
Snippets Groups Projects
Select Git revision
  • pu
  • passt default
  • master
  • todo
  • next
  • maint
  • v2.8.0-rc1
  • v2.8.0-rc0
  • v2.7.2
  • v2.7.1
  • v2.7.0
  • v2.6.5
  • v2.7.0-rc3
  • v2.7.0-rc2
  • v2.7.0-rc1
  • v2.7.0-rc0
  • v2.6.4
  • v2.6.3
  • v2.6.2
  • v2.6.1
  • v2.3.10
  • v2.5.4
  • v2.4.10
  • v2.6.0
  • v2.6.0-rc3
  • v2.5.3
26 results

ctype.c

Blame
    • Ben Walton's avatar
      189c860c
      kwset: use unsigned char to store values with high-bit set · 189c860c
      Ben Walton authored
      
      Sun Studio on Solaris issues warnings about improper initialization
      values being used when defining tolower_trans_tbl[] in ctype.c.  The
      array wants to store values with high-bit set and treat them as
      values between 128 to 255.  Unlike the rest of the Git codebase
      where we explicitly specify 'unsigned char' for such variables and
      arrays, however, kwset code we borrowed from elsewhere uses 'char'
      for this and other variables.
      
      Fix the declarations to explicitly use 'unsigned char' where
      necessary to bring it in line with the rest of the Git.
      
      Signed-off-by: default avatarBen Walton <bdwalton@gmail.com>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
      189c860c
      History
      kwset: use unsigned char to store values with high-bit set
      Ben Walton authored
      
      Sun Studio on Solaris issues warnings about improper initialization
      values being used when defining tolower_trans_tbl[] in ctype.c.  The
      array wants to store values with high-bit set and treat them as
      values between 128 to 255.  Unlike the rest of the Git codebase
      where we explicitly specify 'unsigned char' for such variables and
      arrays, however, kwset code we borrowed from elsewhere uses 'char'
      for this and other variables.
      
      Fix the declarations to explicitly use 'unsigned char' where
      necessary to bring it in line with the rest of the Git.
      
      Signed-off-by: default avatarBen Walton <bdwalton@gmail.com>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    column.h 1.44 KiB