This patchset fixes several compiler warnings in the
v0.42.rc1 libcgroup release candidate.

The first patch also likely fixes a segfault on systems
with a newer version of bison, but I don't have enough
testing in to unequivocally say this.

There are still some outstanding warnings on newer
versions of gcc - specfically a warning about
truncation during some strncpy operations.  I have
examined all of the offending lines, and they appear
to be performing as designed, but I don't know the
best way to silence the warning yet, as I am hesitant
to significantly change the codethis late in the release.

The branch is available on github here:
    https://github.com/drakenclimber/libcgroup/tree/issues/fix_warnings2
Code coverage remained unchanged:
    https://coveralls.io/builds/27944942
All automated tests passed:
    https://github.com/drakenclimber/libcgroup/runs/376433165

Tom Hromatka (8):
  parse.y: Fix type declaration for group_name
  cgrulesengd: Fix improper indentation warning
  api.c: Fix warning caused by misplaced const keyword
  api.c: Fix warning caused by misplaced const keyword
  api.c: Fix warning caused by misplaced const keyword
  api.c: Fix string truncation warning
  api.c: Fix string truncation warning
  api.c: Fix string truncation warning

 src/api.c                | 12 ++++++------
 src/daemon/cgrulesengd.c |  8 ++++----
 src/parse.y              |  4 ++--
 3 files changed, 12 insertions(+), 12 deletions(-)

-- 
1.8.3.1



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to