Page MenuHomeFreeBSD

quot: Make nusers unsigned
ClosedPublic

Authored by des on Mon, Oct 20, 5:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 23, 7:17 AM
Unknown Object (File)
Thu, Oct 23, 7:17 AM
Unknown Object (File)
Thu, Oct 23, 7:17 AM
Unknown Object (File)
Thu, Oct 23, 7:15 AM
Unknown Object (File)
Thu, Oct 23, 5:27 AM
Unknown Object (File)
Wed, Oct 22, 11:02 PM
Unknown Object (File)
Tue, Oct 21, 5:40 AM
Unknown Object (File)
Tue, Oct 21, 12:43 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Mon, Oct 20, 5:55 PM

Thanks for the follow up.

usr.sbin/quot/quot.c
194

This is good but consider if you prefer a more conventional for (usr = users, i = 0; i < nusers; usr++, i++) or similar here. Similar question for other loop counters.

212

I see that there's more of a reason to count backward here.

374

Did you want to give n and this line the same treatment?

This revision is now accepted and ready to land.Mon, Oct 20, 7:21 PM
usr.sbin/quot/quot.c
194

See D53130

This revision was automatically updated to reflect the committed changes.