diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2014-06-04 06:53:35 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-06-04 06:58:02 +0200 |
commit | 6b0655a25194c7c0331154edaa6124cf783e5e5e (patch) | |
tree | c0c7d479f2684531249668210da27a60322ba395 /tests | |
parent | build: Quagga 0.99.23-rc1 (diff) | |
download | frr-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.xz frr-6b0655a25194c7c0331154edaa6124cf783e5e5e.zip |
*: 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 'tests')
-rw-r--r-- | tests/main.c | 4 | ||||
-rw-r--r-- | tests/test-checksum.c | 4 | ||||
-rw-r--r-- | tests/test-privs.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/main.c b/tests/main.c index 2d8cb0c59..5e7bdcb15 100644 --- a/tests/main.c +++ b/tests/main.c @@ -95,8 +95,8 @@ Report bugs to %s\n", progname, ZEBRA_BUG_ADDRESS); } exit (status); } - - + + /* main routine. */ int main (int argc, char **argv) diff --git a/tests/test-checksum.c b/tests/test-checksum.c index fc4eb02d0..921b58c40 100644 --- a/tests/test-checksum.c +++ b/tests/test-checksum.c @@ -24,7 +24,7 @@ typedef uint16_t testoff_t; /* Fletcher Checksum -- Refer to RFC1008. */ #define MODX 4102 - + /* Accumulator phase of checksum */ static struct acc_vals @@ -263,7 +263,7 @@ struct reductions_t { { .name = "isisd-mody", .f = reduce_isisd_mody }, { NULL, NULL }, }; - + /* The original ospfd checksum */ static u_int16_t ospfd_checksum (u_char *buffer, testsz_t len, testoff_t off) diff --git a/tests/test-privs.c b/tests/test-privs.c index a888ea0fc..beae81f69 100644 --- a/tests/test-privs.c +++ b/tests/test-privs.c @@ -74,7 +74,7 @@ Report bugs to %s\n", progname, ZEBRA_BUG_ADDRESS); } exit (status); } - + struct thread_master *master; /* main routine. */ int |