1. 08 1月, 2021 1 次提交
  2. 09 9月, 2020 1 次提交
  3. 07 6月, 2015 1 次提交
  4. 18 4月, 2015 1 次提交
    • R
      improve ctype.h macros to diagnose errors · 2ca55a93
      Rich Felker 提交于
      the casts of the argument to unsigned int suppressed diagnosis of
      errors like passing a pointer instead of a character. putting the
      actual function call in an unreachable branch restores any diagnostics
      that would be present if the macros didn't exist and functions were
      used.
      2ca55a93
  5. 15 10月, 2014 1 次提交
  6. 13 8月, 2014 1 次提交
    • S
      add inline isspace in ctype.h as an optimization · b04971d9
      Szabolcs Nagy 提交于
      isspace can be a bottleneck in a simple parser, inlining it
      gives slightly smaller and faster code
      
      src/locale/pleval.o already had this optimization, the size
      change for other libc functions for i386 is
      
      src/internal/intscan.o     2134    2118   -16
      src/locale/dcngettext.o    1562    1552   -10
      src/network/res_msend.o    1961    1940   -21
      src/network/lookup_name.o  2627    2608   -19
      src/network/getnameinfo.o  1814    1811    -3
      src/network/lookup_serv.o   643     624   -19
      src/stdio/vfscanf.o        2675    2663   -12
      src/stdlib/atoll.o          117     107   -10
      src/stdlib/atoi.o            95      91    -4
      src/stdlib/atol.o            95      91    -4
      src/time/strptime.o        1515    1503   -12
      (TOTALS)                 432451  432321  -130
      b04971d9
  7. 08 9月, 2012 1 次提交
    • R
      default features: make musl usable without feature test macros · c1a9658b
      Rich Felker 提交于
      the old behavior of exposing nothing except plain ISO C can be
      obtained by defining __STRICT_ANSI__ or using a compiler option (such
      as -std=c99) that predefines it. the new default featureset is POSIX
      with XSI plus _BSD_SOURCE. any explicit feature test macros will
      inhibit the default.
      
      installation docs have also been updated to reflect this change.
      c1a9658b
  8. 23 5月, 2012 1 次提交
  9. 11 11月, 2011 1 次提交
  10. 27 9月, 2011 1 次提交
    • R
      fix ctype macros to cast argument to (unsigned) first · 7e14ed13
      Rich Felker 提交于
      issue reported by nsz, but it's actually not just pedantic. the
      functions can take input of any arithmetic type, including floating
      point, and the behavior needs to be as if the conversion implicit in
      the function call took place.
      7e14ed13
  11. 15 2月, 2011 1 次提交
  12. 12 2月, 2011 1 次提交