Skip to content

Revise use of libregex in Windows branch #1608

@jimklimov

Description

@jimklimov

In m4 recipes it is detected as part of USB support in Windows-branch m4/nut_check_libusb.m4

A $(LIBREGEX_LIBS) Makefile variable (defined by configure.ac) seems to be only used explicitly in recipe to build apcsmart driver.

However a regcomp() method is also used in macosc-ups.c and usb-common.c sources.

This issue is about verifying if we need it at all, or duplicate effort with another regex implementation (we have code for USB VendorID/ProductID regex matching, etc., for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    USBWindowsrefactor/fightwarnPR or issue proposal to improve code maintainability without functional changes, or to fix warnings

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions