具体位置:geekos-0.3.0\src\project6\src\common\string.c 版本是geekos-0.3.0,不知道该BUG是不是故意留下来的^_^ 原来的函数如下: intmemcmp(constvoid*s1_,constvoid*s2_, size_t n) { constsignedchar*s1=s1_,*s2=s2_; while(n>0) {//注意这里,n的值没有改变 intcmp=*s1-*s2; if(cmp!=0...
os services tools usr utils .hgignore CHANGES INSTALL NOTICE README.md makemk.sh mkconfig mkfileBreadcrumbs inferno-os /libkern / memcmp.c Latest commit Charles.Forsyth 20060303a 37da289· Dec 23, 2006 HistoryHistory File metadata and controls Code Blame 22 lines (20 loc) · 244 B...
target_compile_options(loader_common_options INTERFACE /clang:-fno-strict-aliasing /clang:-fno-builtin-memcmp) target_compile_options(loader_common_options INTERFACE /clang:-fno-strict-aliasing) else() target_compile_options(loader_common_options INTERFACE -fno-strict-aliasing -fno-builtin-memcmp) ...