~ubuntu-branches/debian/experimental/apparmor/experimental

« back to all changes in this revision

Viewing changes to parser/parser_regex.c

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-05-01 19:29:07 UTC
  • Revision ID: james.westby@ubuntu.com-20110501192907-49snsnhfzlej5i71
Tags: 2.6.1-3
* debian/control: add sneaky missing Build-Dep on liblocale-gettext-perl
  (fixes FTBFS on some extremely minimal chroots, Closes: 624566).
* debian/patches/0101-declarations.patch: add missing declarations needed
  for sensitive compilers (fixes FTBFS on mips/mipsel).
* debian/patches/0102-manpage-release-name.patch: update manpage release
  names to match others.
* debian/patches/0103-kfreebsd-compile.patch, debian/{control,rules}:
  attempt to build as much as possible (no parser) on non-Linux systems.
* debian/po/ru.po: add translation, thanks to Yuri Kozlov (Closes: 624741).

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 */
17
17
 
18
18
#include <stdio.h>
 
19
#include <stdlib.h>
19
20
#include <stdarg.h>
20
21
#include <string.h>
21
22
#include <libintl.h>
621
622
                rc = 1;                         \
622
623
        }
623
624
 
 
625
/* Guh, fake globals */
 
626
int regex_type = AARE_DFA;
 
627
int perms_create = 0;
 
628
dfaflags_t dfaflags = DFA_CONTROL_TREE_NORMAL | DFA_CONTROL_TREE_SIMPLE | DFA_CONTROL_MINIMIZE | DFA_CONTROL_MINIMIZE_HASH_TRANS | DFA_CONTROL_MINIMIZE_HASH_PERMS;
 
629
 
624
630
/* Guh, fake routine */
625
631
void yyerror(char *msg, ...)
626
632
{