Skip to content

Conversation

@chu11
Copy link
Member

@chu11 chu11 commented Feb 27, 2025

No description provided.

Problem: The genders_getmaxattrs() function returns a value that
requires the genders database to be parsed in a very specific way.
It does not give much leniency to parsing other ways or using
different internal data structures.  In addition, the value is
not used in expected places such as genders_attrlist_create().

Deprecate genders_getmaxattrs().  Have it call genders_getnumattrs()
instead.  Internally remove all "maxattrs" appropriate calculations.

Deprecate associated extensions of genders_getmaxattrs().
Problem: Now that genders_getmaxattrs() returns the value from
genders_getnumattrs() some tests fail.

Update failing tests.
Problem: Now that genders_getmaxattrs() has been deprecated it should
be removed from documentation.

Remove all references to genders_getmaxattrs() notes in manpages.
Problem: There have been Makefile.am changes.  The
build system needs to be regenerated.

Run ./autogen.sh to regenerate everything.
@chu11 chu11 merged commit 79283a9 into chaos:master Feb 27, 2025
1 check passed
@chu11 chu11 deleted the maxattrs branch February 27, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant