[Devel] [PATCH 00/10] bitbucket.org/poige/vzctl/commits/branch/p_nifty

Igor Podlesny openvz at poige.ru
Mon May 6 23:42:02 PDT 2013


https://bitbucket.org/poige/vzctl/commits/branch/p_nifty

Igor Podlesny (10):
  get_date() gets shorter
  logger() gets shorter
  vzctl_init_ploop_log() gets shorter
  Dont-Repeat-Yourself: refer variable only once
  max_netmask(): switch fits better
  get_pagesize(): init var @ declaration and simplify
  In C func() is to be func(void) generally
  get_num_cpu(): got rid of hardcoded string length
  get_num_cpu(): Use PROCCPU macros for "/proc/cpuinfo"
  get_num_cpu(): refactored

 include/util.h      |    7 +++++--
 src/lib/logger.c    |   21 +++++----------------
 src/lib/util.c      |   45 ++++++++++++++++++++++-----------------------
 src/vzctl-actions.c |   15 ++++++++-------
 4 files changed, 40 insertions(+), 48 deletions(-)

-- 
1.7.9.5




More information about the Devel mailing list