*: 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>
diff --git a/lib/linklist.c b/lib/linklist.c
index 485a80b..370b2fa 100644
--- a/lib/linklist.c
+++ b/lib/linklist.c
@@ -23,7 +23,7 @@
#include "linklist.h"
#include "memory.h"
-
+
/* Allocate new list. */
struct list *
list_new (void)
@@ -51,7 +51,7 @@
{
XFREE (MTYPE_LINK_NODE, node);
}
-
+
/* Add new data to the list. */
void
listnode_add (struct list *list, void *val)
@@ -242,7 +242,7 @@
return node;
return NULL;
}
-
+
/* Delete the node from list. For ospfd and ospf6d. */
void
list_delete_node (struct list *list, struct listnode *node)
@@ -258,7 +258,7 @@
list->count--;
listnode_free (node);
}
-
+
/* ospf_spf.c */
void
list_add_node_prev (struct list *list, struct listnode *current, void *val)