解决了,但是还不知道为什么,
将rss.c开始的方法common_rss_header修改成如下的样子就可以通过了:
static void common_rss_header(char *zTitle, char *zDescription, int nBuildDate){
int nTTL = atoi(db_config("rss_ttl", "60"));
#if CVSTRAC_I18N
char * charsetpp = db_config("charset",nl_langinfo(CODESET));
#else
char * charset = db_config("charset","GB2312");
#endif
cgi_set_content_type("text/xml");
@ <?xml version="1.0" encoding="%h(charset)"?>
@ <rss version="2.0">
@ <channel>
@ <title>%h(g.zName) - %h(zTitle)</title>
@ <link>%s(g.zBaseURL)/timeline</link>
@ <description>%h(zDescription)</description>
@ <language>zh-cn</language>
@ <pubDate>%h(cgi_rfc822_datestamp( time(0) ))</pubDate>
if( nBuildDate>0 ){
const char* zBD = cgi_rfc822_datestamp(nBuildDate);
@ <lastBuildDate>%h(zBD)</lastBuildDate>
cgi_append_header(mprintf("Last-Modified: %h\r\n",zBD));
}
@ <generator>CVSTrac @VERSION@ 中文版</generator>
@ <ttl>%d(nTTL)</ttl>
}