[lxc-devel] [lxc/lxc] 81a3bb: tree-wide: use sizeof on static arrays

GitHub noreply at github.com
Wed Aug 29 20:26:47 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 81a3bb64b4147ac6da3087cb77ac67828a2f2b76
      https://github.com/lxc/lxc/commit/81a3bb64b4147ac6da3087cb77ac67828a2f2b76
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2018-08-29 (Wed, 29 Aug 2018)

  Changed paths:
    M src/lxc/caps.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/log.c
    M src/lxc/lxccontainer.c
    M src/lxc/monitor.c
    M src/lxc/tools/lxc_monitor.c
    M src/lxc/utils.c
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  tree-wide: use sizeof on static arrays

Instead of duplicating their lengths in read/snprintf/...
calls.

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 7cba1a272991501cdf96c4d93f307b5ed2622e63
      https://github.com/lxc/lxc/commit/7cba1a272991501cdf96c4d93f307b5ed2622e63
  Author: Christian Brauner <christian at brauner.io>
  Date:   2018-08-29 (Wed, 29 Aug 2018)

  Changed paths:
    M src/lxc/caps.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/log.c
    M src/lxc/lxccontainer.c
    M src/lxc/monitor.c
    M src/lxc/tools/lxc_monitor.c
    M src/lxc/utils.c
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  Merge pull request #2577 from Blub/inttype-lengths

tree-wide: use sizeof on static arrays


Compare: https://github.com/lxc/lxc/compare/f288e10a59e8...7cba1a272991
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list