without an `@mit.edu'. (The version of pobox.gen on moira2 already has
this patch.)
#include <sys/stat.h>
#include <sys/time.h>
#include <ctype.h>
+#include <string.h>
EXEC SQL INCLUDE sqlca;
extern int errno;
!strcasecmp(".local", string + i - 6)) {
string[i-6] = 0;
fprintf(out, "%s %s.mit.edu\n", id, string);
+ } else if ( !strchr(string, '@') ) {
+ fprintf(out, "%s %s@mit.edu\n", id, string);
} else
fprintf(out, "%s %s\n", id, string);
}