1.fix bug#7236 bug#7288 bug#7290
2.验证bug#7287测试代码用例
#include<stdio.h>
#include<syslog.h>
int main()
{
char cmd[50] = {0};
char buf[50] = {0}, *p;
char tmp[2] = "%S";
FILE *fp;
sprintf(cmd, "date '+%H:%M:%s,%N'> time.txt",tmp);
system(cmd);
fp = fopen("time.txt", "r");
if(fp) {
p = fgets(buf, 20, fp);
}
fclose(fp);
syslog(LOG_INFO,"%s", p);
return 0;
}
4.finish type class1