]> andersk Git - moira.git/blobdiff - gen/www.pc
Command line printer manipulation client, and build goo.
[moira.git] / gen / www.pc
index 737e84865bf49aa81e59170f6d67edc2c3f31062..db0529a4a55a2150d59a47828bb9359bc7ae3f89 100644 (file)
@@ -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;
 
This page took 0.039654 seconds and 4 git commands to generate.