strtok() only handles non-empty tokens. Says so on the first line of the description on the man page. Doh. So use our own argv splitting, this is actually more handy anyhow.
Fixes: #3594 You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/3641 -- Commit Summary -- * Fix empty password field in passwd/group causing entry to be ignored -- File Changes -- M lib/rpmug.cc (9) M tests/rpmi.at (8) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/3641.patch https://github.com/rpm-software-management/rpm/pull/3641.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/3641 You are receiving this because you are subscribed to this thread. Message ID: <rpm-software-management/rpm/pull/[email protected]>
_______________________________________________ Rpm-maint mailing list [email protected] https://lists.rpm.org/mailman/listinfo/rpm-maint
