[Box Backup-commit] [boxbackup/boxbackup] dde9c7: Fix FileExists in Utils.cpp

GitHub noreply at github.com
Mon Aug 7 21:36:54 BST 2017


  Branch: refs/heads/s3_support_merge
  Home:   https://github.com/boxbackup/boxbackup
  Commit: dde9c776733b7b75338b81531cde03999283c1f0
      https://github.com/boxbackup/boxbackup/commit/dde9c776733b7b75338b81531cde03999283c1f0
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-08-07 (Mon, 07 Aug 2017)

  Changed paths:
    M lib/common/Utils.cpp

  Log Message:
  -----------
  Fix FileExists in Utils.cpp

Testing for st.st_mode & S_IFLNK doesn't work on OSX, because IFLNK and IFREG
share bits, so regular files have a nonzero result and appear to be links. It
seems safer and more readable to use the mode test macros, e.g. S_ISLNK and
S_ISDIR.


  Commit: ebb178b182836d616a34b2ac32afef2ae14b0e09
      https://github.com/boxbackup/boxbackup/commit/ebb178b182836d616a34b2ac32afef2ae14b0e09
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-08-07 (Mon, 07 Aug 2017)

  Changed paths:
    M lib/httpserver/S3Client.cpp
    M lib/httpserver/S3Client.h
    M lib/httpserver/S3Simulator.cpp
    M lib/httpserver/S3Simulator.h
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Add ListBucket command support to S3Simulator and S3Client


Compare: https://github.com/boxbackup/boxbackup/compare/1a8448148405...ebb178b18283


More information about the Boxbackup-commit mailing list