OpenBSD CVS

CVS log for src/usr.bin/rdist/expand.c


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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_5_BASE


Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 21 19:00:45 2018 UTC (5 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.16: +8 -28 lines
Diff to previous 1.16 (colored)

Use password/group cache functions and avoid stashing a pointer to
the return value of getgrgid(3) or getgrnam(3) which relies on
undefined behavior.  The rdist server will now use getgroups(2) to
determine group membership of the invoking user.  In addition, there
is now one implementation of tilde expansion instead of two.
OK tb@ tim@

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.