1. 09 2月, 2012 3 次提交
    • R
      replace bad cancellation cleanup abi with a sane one · afc35d5e
      Rich Felker 提交于
      the old abi was intended to duplicate glibc's abi at the expense of
      being ugly and slow, but it turns out glib was not even using that abi
      except on non-gcc-compatible compilers (which it doesn't even support)
      and was instead using an exceptions-in-c/unwind-based approach whose
      abi we could not duplicate anyway without nasty dwarf2/unwind
      integration.
      
      the new abi is copied from a very old glibc abi, which seems to still
      be supported/present in current glibc. it avoids all unwinding,
      whether by sjlj or exceptions, and merely maintains a linked list of
      cleanup functions to be called from the context of pthread_exit. i've
      made some care to ensure that longjmp out of a cleanup function should
      work, even though it is not required to.
      
      this change breaks abi compatibility with programs which were using
      pthread cancellation, which is unfortunate, but that's why i'm making
      the change now rather than later. considering that most pthread
      features have not been usable until recently anyway, i don't see it as
      a major issue at this point.
      afc35d5e
    • R
      ed2911a1
    • R
      fix typo in iswspace space list table · 520f3ee2
      Rich Felker 提交于
      520f3ee2
  2. 08 2月, 2012 5 次提交
    • R
      fix typo in inotify.h · 570edb19
      Rich Felker 提交于
      570edb19
    • R
      protect against cancellation in dlopen · f2baf4d7
      Rich Felker 提交于
      i'm not sure that it's "correct" for dlopen to block cancellation
      when calling constructors for libraries it loads, but it sure seems
      like the right thing. in any case, dlopen itself needs cancellation
      blocked.
      f2baf4d7
    • R
      reduce some wasted space in dso structure · 700a8156
      Rich Felker 提交于
      700a8156
    • R
      declare basename in string.h when _GNU_SOURCE is defined · 1ba28b90
      Rich Felker 提交于
      note that it still will have the standards-conformant behavior, not
      the GNU behavior. but at least this prevents broken code from ending
      up with truncated pointers due to implicit declarations...
      1ba28b90
    • R
      revert hacks for types of stdint.h integer constant macros · a591e038
      Rich Felker 提交于
      per 7.18.4: Each invocation of one of these macros shall expand to an
      integer constant expression suitable for use in #if preprocessing
      directives. The type of the expression shall have the same type as
      would an expression of the corresponding type converted according to
      the integer promotions. The value of the expression shall be that of
      the argument.
      
      the key phrase is "converted according to the integer promotions".
      thus there is no intent or allowance that the expression have
      smaller-than-int types.
      a591e038
  3. 07 2月, 2012 6 次提交
  4. 06 2月, 2012 1 次提交
  5. 03 2月, 2012 2 次提交
  6. 02 2月, 2012 4 次提交
  7. 01 2月, 2012 2 次提交
  8. 30 1月, 2012 1 次提交
  9. 29 1月, 2012 1 次提交
  10. 26 1月, 2012 2 次提交
  11. 25 1月, 2012 2 次提交
  12. 24 1月, 2012 3 次提交
  13. 23 1月, 2012 6 次提交
  14. 21 1月, 2012 2 次提交