+#endif
+#ifdef sun
+ if (maxusers == 0) {
+ printf("maxusers not specified; 8 assumed\n");
+ maxusers = 8;
+ } else if (maxusers < 2) {
+ printf("minimum of 2 maxusers assumed\n");
+ maxusers = 2;
+ } else if (maxusers > 32) {
+ printf("maxusers truncated to 32\n");
+ maxusers = 32;
+ }
+#endif
fprintf(ofp, "PARAM=-DTIMEZONE=%d -DDST=%d -DMAXUSERS=%d\n",
timezone, dst, maxusers);
while (fgets(line, BUFSIZ, ifp) != 0) {
fprintf(ofp, "PARAM=-DTIMEZONE=%d -DDST=%d -DMAXUSERS=%d\n",
timezone, dst, maxusers);
while (fgets(line, BUFSIZ, ifp) != 0) {