1. 27 Oct, 2016 6 commits
    • Anthony J. Bentley's avatar
      common: convert to standard stat()/fstat() interfaces · 26af2b64
      Anthony J. Bentley authored
      Most modern Unix environments use 64-bit off_t by default: OpenBSD,
      FreeBSD, OS X, and Linux libc implementations such as Musl.
      
      glibc is the lone exception; it can default to 32 bits but this is
      configurable by setting _FILE_OFFSET_BITS.
      
      Avoiding the stat64()/fstat64() interfaces is desirable because they
      are nonstandard and not implemented on many systems (including
      OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either
      the default or trivial to set up.
      26af2b64
    • Jan Beich's avatar
      common: stat64 is non-standard, hide on a random Unix · 51f92f0e
      Jan Beich authored
      src/common/file_util.cpp:79:19: error: variable has incomplete type 'struct stat64'
          struct stat64 file_info;
                        ^
      src/common/file_util.cpp:79:12: note: forward declaration of 'stat64'
          struct stat64 file_info;
                 ^
      src/common/file_util.cpp:99:19: error: variable has incomplete type 'struct stat64'
          struct stat64 file_info;
                        ^
      src/common/file_util.cpp:99:12: note: forward declaration of 'stat64'
          struct stat64 file_info;
                 ^
      src/common/file_util.cpp:342:19: error: variable has incomplete type 'struct stat64'
          struct stat64 buf;
                        ^
      src/common/file_util.cpp:342:12: note: forward declaration of 'stat64'
          struct stat64 buf;
                 ^
      src/common/file_util.cpp:359:19: error: variable has incomplete type 'struct stat64'
          struct stat64 buf;
                        ^
      src/common/file_util.cpp:359:12: note: forward declaration of 'stat64'
          struct stat64 buf;
                 ^
      4 errors generated.
      51f92f0e
    • Jan Beich's avatar
      common: only FreeBSD has thread affinity compatible with Linux · 8ce1ec7f
      Jan Beich authored
      src/common/thread.cpp:90:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'?
          cpu_set_t cpu_set;
          ^~~~~~~~~
          cpuset_t
      /usr/include/sys/_cpuset.h:48:24: note: 'cpuset_t' declared here
      typedef struct _cpuset cpuset_t;
                             ^
      1 error generated.
      8ce1ec7f
    • Jan Beich's avatar
      common: define routines to set thread name on more BSDs · 1410bd3b
      Jan Beich authored
      src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np'
          pthread_setname_np(pthread_self(), szThreadName);
          ^
      1 error generated.
      1410bd3b
    • Jan Beich's avatar
      hooks: convert pre-commit to POSIX syntax · 3925f4ff
      Jan Beich authored
      3925f4ff
    • wwylele's avatar
      Travis: only upload for push (#2134) · 0dfad003
      wwylele authored
      0dfad003
  2. 25 Oct, 2016 2 commits
  3. 21 Oct, 2016 1 commit
  4. 20 Oct, 2016 1 commit
  5. 08 Oct, 2016 1 commit
  6. 06 Oct, 2016 1 commit
  7. 05 Oct, 2016 1 commit
  8. 04 Oct, 2016 2 commits
  9. 02 Oct, 2016 3 commits
  10. 30 Sep, 2016 5 commits
  11. 29 Sep, 2016 6 commits
  12. 23 Sep, 2016 1 commit
  13. 22 Sep, 2016 6 commits
  14. 21 Sep, 2016 4 commits