Page MenuHomeFreeBSD

quot: Make nusers unsigned
ClosedPublic

Authored by des on Oct 20 2025, 5:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 28, 5:23 AM
Unknown Object (File)
Mon, Jul 27, 2:07 AM
Unknown Object (File)
Sun, Jul 26, 3:35 AM
Unknown Object (File)
Sat, Jul 25, 4:59 PM
Unknown Object (File)
Fri, Jul 24, 2:01 AM
Unknown Object (File)
Wed, Jul 22, 9:04 AM
Unknown Object (File)
Mon, Jul 20, 12:56 PM
Unknown Object (File)
Wed, Jul 15, 10:49 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67945
Build 64828: arc lint + arc unit

Event Timeline

des requested review of this revision.Oct 20 2025, 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.Oct 20 2025, 7:21 PM
usr.sbin/quot/quot.c
194

See D53130

This revision was automatically updated to reflect the committed changes.