[BACK]Return to vsort.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sort

Diff for /src/usr.bin/sort/vsort.c between version 1.1 and 1.2

version 1.1, 2015/03/17 17:45:13 version 1.2, 2015/04/01 21:46:38
Line 39 
Line 39 
 static inline bool  static inline bool
 isdigit_clocale(wchar_t c)  isdigit_clocale(wchar_t c)
 {  {
   
         return (c >= L'0' && c <= L'9');          return (c >= L'0' && c <= L'9');
 }  }
   
 static inline bool  static inline bool
 isalpha_clocale(wchar_t c)  isalpha_clocale(wchar_t c)
 {  {
   
         return ((c >= L'a' && c <= L'z') || (c >= L'A' && c <= L'Z'));          return ((c >= L'a' && c <= L'z') || (c >= L'A' && c <= L'Z'));
 }  }
   
 static inline bool  static inline bool
 isalnum_clocale(wchar_t c)  isalnum_clocale(wchar_t c)
 {  {
   
         return ((c >= L'a' && c <= L'z') || (c >= L'A' && c <= L'Z') ||          return ((c >= L'a' && c <= L'z') || (c >= L'A' && c <= L'Z') ||
             (c >= L'0' && c <= L'9'));              (c >= L'0' && c <= L'9'));
 }  }
Line 114 
Line 111 
 static inline int  static inline int
 cmp_chars(wchar_t c1, wchar_t c2)  cmp_chars(wchar_t c1, wchar_t c2)
 {  {
   
         if (c1 == c2)          if (c1 == c2)
                 return 0;                  return 0;
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2