1. 04 Mar, 2021 1 commit
    • Érico Rolim's avatar
      storage/plugins/CurlStorage: don't use glibc extension in · c95e3dc0
      Érico Rolim authored
      ParseTimePoint.
      
      %Z is a glibc extension to strptime, and is a no-op there, due to the
      mapping between timezone names and their definition (especially when the
      name comes from a different machine) being ambiguous / impossible.  Time
      in HTTP headers is guaranteed to be UTC.
      
      Passing an unknown format to strptime() implementations that don't
      support it will generally cause them to return NULL, which will lead to
      ParseTimePoint throwing an exception and ParseTimeStamp using an
      unnecessary fallback.
      
      Since the timezone name goes at the end of the string, we don't need to
      use %Z to skip it (could be an issue in a different time stamp format),
      so simply removing %Z works best.
      c95e3dc0
  2. 08 Jan, 2021 1 commit
  3. 05 Jan, 2021 1 commit
  4. 04 Jan, 2021 3 commits
  5. 01 Jan, 2021 1 commit
  6. 06 Nov, 2020 1 commit
  7. 27 Sep, 2020 1 commit
  8. 16 Sep, 2020 1 commit
  9. 20 Jul, 2020 4 commits
  10. 06 Jul, 2020 2 commits
    • Max Kellermann's avatar
      command/storage: check if storage is already mounted · d7744d2b
      Max Kellermann authored
      Mounting one storage URI twice on different mount points can lead to
      conflicts with the database cache file, and it doesn't make a lot of
      sense.
      
      But most importantly, our udisks storage plugin will unmount the disk
      from the kernel VFS, and if two exist, they will compete with each
      others.  We could (and should) fix this in the udisks storage plugin,
      but for now, this workaround is good enough (and useful).
      d7744d2b
    • Max Kellermann's avatar
      command/storage: check if mount point is busy · 33ee35ab
      Max Kellermann authored
      When mounting something over a directory that is already a mount
      point, CompositeStorage::Mount() silently overwrites the previously
      mounted storage, disposing it.  After that, SimpleDatabase::Mount()
      will fail and handle_mount() will roll back the
      CompositeStorage::Mount() command, effectively unmounting what was
      there before (and also leaking memory).
      
      Closes https://github.com/MusicPlayerDaemon/MPD/issues/918
      33ee35ab
  11. 30 May, 2020 1 commit
  12. 28 May, 2020 1 commit
  13. 22 Apr, 2020 1 commit
  14. 15 Apr, 2020 2 commits
  15. 06 Apr, 2020 1 commit
  16. 03 Apr, 2020 6 commits
  17. 02 Apr, 2020 1 commit
  18. 26 Mar, 2020 2 commits
  19. 16 Mar, 2020 2 commits
  20. 13 Mar, 2020 2 commits
  21. 12 Mar, 2020 2 commits
  22. 07 Mar, 2020 1 commit
  23. 20 Feb, 2020 2 commits