summaryrefslogtreecommitdiffstats
path: root/lib/regex-gnu.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2014-06-04 06:53:35 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2014-06-04 06:58:02 +0200
commit6b0655a25194c7c0331154edaa6124cf783e5e5e (patch)
treec0c7d479f2684531249668210da27a60322ba395 /lib/regex-gnu.h
parentfdb913aedb5a9807ad60715e8badb4f25d57acea (diff)
downloadquagga-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.bz2
quagga-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.xz
*: nuke ^L (page feed)
Quagga sources have inherited a slew of Page Feed (^L, \xC) characters from ancient history. Among other things, these break patchwork's XML-RPC API because \xC is not a valid character in XML documents. Nuke them from high orbit. Patches can be adapted simply by: sed -e 's%^L%%' -i filename.patch (you can type page feeds in some environments with Ctrl-V Ctrl-L) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/regex-gnu.h')
-rw-r--r--lib/regex-gnu.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/regex-gnu.h b/lib/regex-gnu.h
index d88ab92b..4cee464f 100644
--- a/lib/regex-gnu.h
+++ b/lib/regex-gnu.h
@@ -165,7 +165,7 @@ typedef unsigned long int reg_syntax_t;
stored in the pattern buffer, so changing this does not affect
already-compiled regexps. */
extern reg_syntax_t re_syntax_options;
-
+
/* Define combinations of the above bits for the standard possibilities.
(The [[[ comments delimit what gets put into the Texinfo file, so
don't delete them!) */
@@ -234,7 +234,7 @@ extern reg_syntax_t re_syntax_options;
| RE_NO_BK_PARENS | RE_NO_BK_REFS \
| RE_NO_BK_VBAR | RE_UNMATCHED_RIGHT_PAREN_ORD)
/* [[[end syntaxes]]] */
-
+
/* Maximum number of duplicates an interval can allow. Some systems
(erroneously) define this in other header files, but we want our
value, so remove any previous define. */
@@ -309,7 +309,7 @@ typedef enum
REG_ESIZE, /* Compiled pattern bigger than 2^16 bytes. */
REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */
} reg_errcode_t;
-
+
/* This data structure represents a compiled pattern. Before calling
the pattern compiler, the fields `buffer', `allocated', `fastmap',
`translate', and `no_sub' can be set. After the pattern has been
@@ -389,7 +389,7 @@ struct re_pattern_buffer
};
typedef struct re_pattern_buffer regex_t;
-
+
/* Type for byte offsets within the string. POSIX mandates this. */
typedef int regoff_t;
@@ -420,7 +420,7 @@ typedef struct
regoff_t rm_so; /* Byte offset from string's start to substring's start. */
regoff_t rm_eo; /* Byte offset from string's start to substring's end. */
} regmatch_t;
-
+
/* Declarations for routines. */
/* To avoid duplicating every routine declaration -- once with a
@@ -532,7 +532,7 @@ extern void regfree _RE_ARGS ((regex_t *__preg));
#endif /* C++ */
#endif /* regex.h */
-
+
/*
Local variables:
make-backup-files: t