DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libc/string strcasecmp.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Apr 2005 09:12:52 -0700 (PDT)

dillon      2005/04/29 09:12:52 PDT

DragonFly src repository

  Modified files:
    lib/libc/string      strcasecmp.c 
  Final forced commit to correct log comments.  char's are *signed*, not
  unsigned.  However, most string operations must do unsigned comparisons.
  The CTYPE API is expected to properly fold signed chars when making
  conversions but if a call does not do a conversion, e.g. tolower() on a
  character which is not upper case, the original contents (negative or
  positive) may be returned.
  This means that we can safely use signed chars everywhere *except* when
  we have to do an inequality.
  Revision  Changes    Path
  1.8       +0 -0      src/lib/libc/string/strcasecmp.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]