Up to [local] / src / usr.bin / passwd
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.42 / (download) - annotate - [select for diffs], Mon Jan 22 21:07:10 2024 UTC (4 months, 2 weeks ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
HEAD
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)
I forgot that chpass(1) and passwd(1) reach-around into libc for getpwent.c (isn't it horrible), and therefore lack visibility of the the libc-internal __hash_open() function. Use -DFORCE_DBOPEN in chpass/Makefile and passwd/Makefile and adjust getpwent.c to use the external visible interface. Is there a better way?