*: 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/ripd/rip_main.c b/ripd/rip_main.c
index a512fbc..e81e61b 100644
--- a/ripd/rip_main.c
+++ b/ripd/rip_main.c
@@ -126,7 +126,7 @@
exit (status);
}
-
+
/* SIGHUP handler. */
static void
sighup (void)
@@ -183,7 +183,7 @@
.handler = &sigint,
},
};
-
+
/* Main routine of ripd. */
int
main (int argc, char **argv)