1. 11 6月, 2021 1 次提交
  2. 31 8月, 2020 1 次提交
  3. 13 9月, 2018 2 次提交
  4. 19 7月, 2013 1 次提交
    • R
      improve [f]stat[v]fs functions, and possibly work around old kernels · 6567db65
      Rich Felker 提交于
      the main aim of this patch is to ensure that if not all fields are
      filled in, they contain zeros, so as not to confuse applications.
      reportedly some older kernels, including commonly used openvz kernels,
      lack the f_flags field, resulting in applications reading random junk
      as the mount flags; the common symptom seems to be wrongly considering
      the filesystem to be mounted read-only and refusing to operate. glibc
      has some amazingly ugly fallback code to get the mount flags for old
      kernels, but having them really is not that important anyway; what
      matters most is not presenting incorrect flags to the application.
      
      I have also aimed to fill in some fields of statvfs that were
      previously missing, and added code to explicitly zero the reserved
      space at the end of the structure, which will make things easier in
      the future if this space someday needs to be used.
      6567db65
  5. 07 9月, 2012 1 次提交
    • R
      use restrict everywhere it's required by c99 and/or posix 2008 · 400c5e5c
      Rich Felker 提交于
      to deal with the fact that the public headers may be used with pre-c99
      compilers, __restrict is used in place of restrict, and defined
      appropriately for any supported compiler. we also avoid the form
      [restrict] since older versions of gcc rejected it due to a bug in the
      original c99 standard, and instead use the form *restrict.
      400c5e5c
  6. 20 9月, 2011 2 次提交
  7. 06 4月, 2011 1 次提交
  8. 04 4月, 2011 1 次提交
  9. 20 3月, 2011 1 次提交
  10. 15 2月, 2011 1 次提交
  11. 12 2月, 2011 1 次提交