オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/internal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3083 by kumaneko, Sun Oct 4 00:02:58 2009 UTC revision 3088 by kumaneko, Mon Oct 5 06:45:53 2009 UTC
# Line 992  static inline bool ccs_pathcmp(const str Line 992  static inline bool ccs_pathcmp(const str
992          return a->hash != b->hash || strcmp(a->name, b->name);          return a->hash != b->hash || strcmp(a->name, b->name);
993  }  }
994    
995  static inline int ccs_memcmp(void *a, void *b, const u8 offset, const u8 size)  static inline int ccs_memcmp(void *a, void *b, const size_t offset,
996                                 const size_t size)
997  {  {
998          return memcmp(((char *) a) + offset, ((char *) b) + offset,          return memcmp(((char *) a) + offset, ((char *) b) + offset,
999                        size - offset);                        size - offset);

Legend:
Removed from v.3083  
changed lines
  Added in v.3088

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26