cvs commit: src/include _ctype.h

Rong-En Fan rafan at FreeBSD.org
Mon Oct 29 18:30:43 PDT 2007


rafan       2007-10-30 01:30:42 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    include              _ctype.h 
  Log:
  Restore ctype(3) ABI forward compatibility in 6.x world. This was broken
  with last ctype(3) single-byte and multi-byte separation for fixing
  operating on UTF-8 locale. To be specific, we introduced a new symbol in
  libc. And this symbol is referred via inline functions here. So, you can
  not run a binary built with this version of libc on an older system. To
  restore the compatibility, make these functions built as non-inlined
  form (see lib/libc/nomarco.c) and MFC rev 1.32 which drops the usage of
  that symbol in question for __isctype(). As this may impact performance,
  I only intend to fix in 6.x, but not 7 (not yet released) and 8 (it's HEAD).
  
  Discussed on:   cvs-src
  Requested by:   scottl
  Reviewed by:    ache, delphij
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.30.2.2  +20 -1     src/include/_ctype.h


More information about the cvs-all mailing list