1. 20 6月, 2018 6 次提交
  2. 13 6月, 2018 1 次提交
  3. 29 3月, 2018 1 次提交
    • R
      fix default feature profile in tar.h · 729fef0a
      Rich Felker 提交于
      commit d93c0740 added use of feature
      test macros without including features.h, causing a definition that
      should be exposed in the default profile, TSVTX, to appear only when
      _XOPEN_SOURCE or higher is explicitly defined.
      729fef0a
  4. 13 3月, 2018 1 次提交
    • R
      explicitly use signed keyword to define intNN_t and derivative types · 919ad8d5
      Rich Felker 提交于
      standing alone, both the signed and int keywords identify the same
      type, a (signed) int. however the C language has an exception where,
      when the lone keyword int is used to declare a bitfield, it's
      implementation-defined whether the bitfield is signed or unsigned. C11
      footnote 125 extends this implementation-definedness to typedefs, and
      DR#315 extends it to other integer types (for which support with
      bitfields is implementation-defined).
      
      while reasonable ABIs (all the ones we support) define bitfields as
      signed by default, GCC and compatible compilers offer an option
      -funsigned-bitfields to change the default. while any signed types
      defined without explicit use of the signed keyword are affected, the
      stdint.h types, especially intNN_t, have a natural use in bitfields.
      ensure that bitfields defined with these types always have the correct
      signedness regardless of compiler & flags used.
      
      see also GCC PR 83294.
      919ad8d5
  5. 11 3月, 2018 5 次提交
  6. 25 2月, 2018 1 次提交
    • R
      fix aliasing violations in fgetpos/fsetpos · 2fae10f8
      Rich Felker 提交于
      add a member of appropriate type to the fpos_t union so that accesses
      are well-defined. use long long instead of off_t since off_t is not
      always exposed in stdio.h and there's no namespace-clean alias for it.
      
      access is still performed using pointer casts rather than by naming
      the union member as a matter of style; to the extent possible, the
      naming of fields in opaque types defined in the public headers is not
      treated as an API contract with the implementation. access via the
      pointer cast is valid as long as the union has a member of matching
      type.
      2fae10f8
  7. 23 2月, 2018 20 次提交
  8. 13 1月, 2018 1 次提交
  9. 10 1月, 2018 1 次提交
    • H
      add additional uapi guards for Linux kernel header files · b583c5d3
      Hauke Mehrtens 提交于
      With Linux kernel 4.16 it will be possible to guard more parts of the
      Linux header files from a libc. Make use of this in musl to guard all
      the structures and other definitions from the Linux header files which
      are also defined by the header files provided by musl. This will make
      it possible to compile source files which include both the libc
      headers and the kernel userspace headers.
      
      This extends the definitions done in commit 04983f22 ("make
      netinet/in.h suppress clashing definitions from kernel headers")
      b583c5d3
  10. 16 12月, 2017 1 次提交
  11. 15 12月, 2017 1 次提交
  12. 07 12月, 2017 1 次提交