Skip to content
Snippets Groups Projects
  1. Feb 02, 2024
  2. Jan 31, 2024
    • Thijs Kinkhorst's avatar
      Fix atomically writing to a file · af05b488
      Thijs Kinkhorst authored
      For the trick to work, the file needs to be on the same filesystem.
      The tempdir is likely not on the same filesystem so the rename will
      not be instantaneous. This probably worked in the past when the
      tempdir was expected to be a subdir of the SimpleSAMLphp installation.
      
      Fix it by writing a file to the same directory as the target file,
      which will always be on the same FS. Also do not just use a rand()
      number but something more random as we do in other places in the code.
      af05b488
  3. Jan 12, 2024
  4. Dec 14, 2023
  5. Nov 28, 2023
  6. Nov 27, 2023
  7. Oct 26, 2023
  8. Oct 24, 2023
  9. Oct 18, 2023
  10. Sep 25, 2023
  11. Sep 24, 2023
  12. Sep 05, 2023
  13. Sep 02, 2023
  14. Sep 01, 2023
  15. Aug 25, 2023
  16. Aug 11, 2023
  17. Aug 05, 2023
  18. Aug 02, 2023
  19. Jul 30, 2023
  20. Jul 26, 2023
  21. Jul 19, 2023
Loading