1. 09 6月, 2015 1 次提交
  2. 08 6月, 2015 3 次提交
    • M
      utiltest: Use int8_t instead of char. · ceb46a66
      Michal Privoznik 提交于
      Not every architecture out there has 'char' signed by default.
      For instance, my arm box has it unsigned by default:
      
        $ gcc -dM -E - < /dev/null | grep __CHAR_UNSIGNED__
        #define __CHAR_UNSIGNED__ 1
      
      Therefore, after 65c61e50 the test if failing for me. Problem is,
      we are trying to assign couple of negative values into char
      assuming some will overflow and some don't. That can't be the
      case if 'char' is unsigned by default. Lets use more explicit types
      instead: int8_t and uint8_t where is no ambiguity.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      ceb46a66
    • R
      util: process: fix build on FreeBSD · 5ceb34ee
      Roman Bogorodskiy 提交于
      Commit 825df8c3 refactored virProcess{Set,Get}Affinity routines,
      however broke BSD implementation because of the incorrect variable
      name. Fix build by using a proper variable name.
      
      Pushing as trivial and build break fix.
      5ceb34ee
    • P
      util: Properly return error from virGetUserID and virGetGroupID stubs · 679576cf
      Peter Krempa 提交于
      The stubs for the two functions that are compiled on platforms that
      don't have HAVE_GETPWUID_R and friends defined do not return error but
      report an error message. The calling code then assumes that the @uid or
      @gid arguments were filled, which is not the case in the stubs.
      679576cf
  3. 05 6月, 2015 19 次提交
  4. 04 6月, 2015 17 次提交