OpenBSD CVS

CVS log for src/usr.bin/getent/getent.c


[BACK] Up to [local] / src / usr.bin / getent

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_4_BASE


Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 26 16:39:19 2018 UTC (5 years, 8 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.19: +25 -26 lines
Diff to previous 1.19 (colored)

Use more appropiate types/limits around strtonum()

Replace `long long id' with appropiate types and names, use smaller limits
where applicable and move variable declarations up out of loops.

This makes the code clearer and a tad simpler while staying consistent
across databases.

Feedback and OK millert

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.