]> andersk Git - moira.git/commitdiff
changed the header format - tom
authornocuser <nocuser>
Sun, 2 Jan 1994 16:05:07 +0000 (16:05 +0000)
committernocuser <nocuser>
Sun, 2 Jan 1994 16:05:07 +0000 (16:05 +0000)
gen/hosts.dc

index 9c4f4c59fedb1fd0d382184d3332734868125768..07c0b684fa345933e32adcf9c4c393e1f492a0db 100644 (file)
@@ -69,7 +69,13 @@ char **argv;
     EXEC SQL WHENEVER SQLERROR GOTO sqlerr;
 
     gettimeofday(&now, NULL);
-    fprintf(out, "; Host table generated %s;\n", ctime(&now.tv_sec));
+    
+    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",
+           ctime(&now.tv_sec));
 
     EXEC SQL DECLARE y CURSOR FOR SELECT
       mach_id, name FROM hostalias;
@@ -104,7 +110,6 @@ char **argv;
        if (id == 0) continue;
        if (*strtrim(name) == 0) continue;
        if ((i = strlen(name)) < 9 || strcmp(&name[i-8], ".MIT.EDU")) {
-           fprintf(stderr, "Name %s not in MIT domain\n", name);
            continue;
        } else {
            name[i-8] = 0;
This page took 0.057105 seconds and 5 git commands to generate.