X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/8aa828ce32369e8725e63713f9c0e5f57a5ce10e..6d400ea1c7eb8f7ea9da43e59082e51731bb3be6:/gen/www.pc diff --git a/gen/www.pc b/gen/www.pc index 737e8486..db0529a4 100644 --- a/gen/www.pc +++ b/gen/www.pc @@ -190,6 +190,8 @@ void filsys(FILE *out) if (!*strtrim(path)) continue; + for (c = label; *c; c++) + *c = tolower(*c); fprintf(out, "%s:%s\n", label, path); EXEC SQL OPEN alias_cursor; @@ -201,6 +203,8 @@ void filsys(FILE *out) if (!*strtrim(alias)) continue; + for (c = alias; *c; c++) + *c = tolower(*c); fprintf(out, "%s:%s\n", alias, path); } EXEC SQL CLOSE alias_cursor; @@ -230,7 +234,7 @@ void group(FILE *out) EXEC SQL WHENEVER SQLERROR GOTO sqlerr; EXEC SQL DECLARE user_cursor CURSOR FOR - SELECT login FROM users WHERE status=1 OR status=2 OR status=6 + SELECT login FROM users WHERE status=1 OR status=2 OR status=6 OR status=9 ORDER by login; EXEC SQL OPEN user_cursor;