~sbeattie/apparmor/jenkins-test-branch

Viewing all changes in revision 1710.

  • Committer: Steve Beattie
  • Date: 2011-04-06 03:55:19 UTC
  • Revision ID: sbeattie@ubuntu.com-20110406035519-8vbgcwtk1def86gh
This patch fixes a compilation warning that was trying to tell us
about an actual bug in the parser; namely that when handling strings
encapsulated in quotes, that our handling of octals is busted. It
fixes this by fixing the case entries so that 3 digit octals will
get parsed correctly, rather than dropped.

It also adds a bunch of unit tests for the processquoted() function.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: