Skip to content

Eliminate bootstrappable.c #74

@fosslinux

Description

@fosslinux

bootstrappable.c has a number of functions from the early years of the M2* projects that were helpful at the time. However, we have gradually moved away from these towards more standard C library interfaces (as per this project).

We should eliminate the remaining non-standard functions from bootstrappable.c, first by introducing the new interfaces where they do not already exist, then replacing existing code with the standard interfaces, then removing the old functions.

  • require -> assert
    • implemented
    • replaced
    • removed
  • match -> strcmp
    • implemented
    • replaced
    • removed
  • in_set -> strchr
    • implemented
    • replaced
    • removed
  • strtoint -> atoi
    • implemented
    • replaced
    • removed
  • int2str is probably not removable at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions