gettimeofday(&now, NULL);
fprintf(out, "; MIT Network Host Table\n;\n");
- fprintf(out, "; \t$Author$\n");
- fprintf(out, "; \t$Date$\n");
- fprintf(out, "; \t$Revision$\n;\n");
- fprintf(out, "; Host table generated by Moira at;\n;\n",
+ fprintf(out, "; \t%cAuthor: $\n", '$');
+ fprintf(out, "; \t%cDate: $\n", '$');
+ fprintf(out, "; \t%cRevision: $\n;\n", '$');
+ fprintf(out, "; Host table generated by Moira at %s;;\n",
ctime(&now.tv_sec));
EXEC SQL DECLARE y CURSOR FOR SELECT