a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/xmlEscape.c src/lib/xmlEscape.c index 6236002..ba077f1 100644 --- src/lib/xmlEscape.c +++ src/lib/xmlEscape.c @@ -1,23 +1,22 @@ /* Handle escaping for XML files. Deal with things like * & and ". */ #include "common.h" #include "hash.h" #include "xmlEscape.h" -static char const rcsid[] = "$Id: xmlEscape.c,v 1.2 2008/09/17 17:56:38 kent Exp $"; struct hash *xmlEscapeSymHash() /* Return hash of predefined xml character symbols to lookup. */ { struct hash *symHash = newHash(6); hashAdd(symHash, "lt", "<"); hashAdd(symHash, "gt", ">"); hashAdd(symHash, "amp", "&"); hashAdd(symHash, "apos", "'"); hashAdd(symHash, "quot", "\""); return symHash; } void xmlEscapeBytesToFile(unsigned char *buffer, int len, FILE *f) /* Write buffer of given length to file, escaping as need be. */