On Mon, Mar 03, 2008 at 09:52:59AM -0700, lamont@xxxxxxxxxx wrote: > The following patch makes the username-in-upper-case feature optional. Hmm.. this change is not backwardly compatible for 0.0001% of agetty users :-) Applied with small changes. > + if (((cp->capslock = caps_lock(logname))) && (op->flags & F_LCUC)) { better is: if ((op->flags & F_LCUC) && (cp->capslock = caps_lock(logname))) because then you don't need to change: > - if (cp->capslock) { > + if (cp->capslock && (op->flags & F_LCUC)) { Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html