Rich Burridge wrote: > http://jurassic.us.oracle.com/~richb/6962990-v1/
I think this is fine. If ut_line could be not null-terminated if it took up the full 32 bytes, then you could have a problem here in that case (you're xmallocing 32 bytes instead of 32 bytes plus one for the extra \0). But I don't think this can ever happen, and it's possible that ut_line is always 31 bytes plus a \0, so it's probably not worth worrying about. Danek _______________________________________________ userland-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/userland-discuss
