1. 20 Jun, 2011 3 commits
  2. 19 Jun, 2011 5 commits
  3. 18 Jun, 2011 4 commits
  4. 17 Jun, 2011 5 commits
  5. 16 Jun, 2011 3 commits
  6. 15 Jun, 2011 1 commit
  7. 14 Jun, 2011 1 commit
    • Brian Curtin's avatar
      Correct completely broken os.stat behavior on Windows XP. · c8be8407
      Brian Curtin authored
      After 1a3e8db28d49, Windows XP could not os.stat at all due to raising
      immediately when GetFinalPathNameByHandle wasn't available (pre-Vista).
      The proper behavior in that situation is to just not attempt a traversal
      rather than outright rejecting.
      
      This change additionally handles a failed malloc by setting the error code
      and returning false.
      
      Patch by Hirokazu Yamamoto.
      c8be8407
  8. 13 Jun, 2011 2 commits
    • Brian Curtin's avatar
      branch merge? · a87d586f
      Brian Curtin authored
      a87d586f
    • Brian Curtin's avatar
      Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. · d25aef55
      Brian Curtin authored
      Use of DeviceIoControl to obtain the symlink path via the reparse tag was
      removed. The code now uses GetFinalPathNameByHandle in the case of a
      symbolic link and works properly given the added test which creates a symbolic
      link and calls os.stat on it from multiple locations.
      
      Victor Stinner also noticed an issue with os.lstat following the os.stat
      code path when being passed bytes. The posix_lstat function was adjusted to
      properly hook up win32_lstat instead of the previous STAT macro (win32_stat).
      d25aef55
  9. 12 Jun, 2011 1 commit
  10. 11 Jun, 2011 8 commits
  11. 10 Jun, 2011 5 commits
  12. 09 Jun, 2011 2 commits