Bruno Haible <[email protected]> writes: > Collin Funk wrote: >> Gnulib doesn't maintain an ABI since it is intended to be used in >> source-form and then statically linked [1]. > > This is correct. > > But still, Gnulib tries to not add an 'rpl_' prefix gratuitously. > So that > 1) when debugging, you can set a breakpoint in the function with the > expected name, > 2) to access such a function from Python or other scripting languages, > you don't need to worry about a prefix. > > I'm therefore applying this patch: > > > 2025-11-10 Bruno Haible <[email protected]> > > argp: Don't use an 'rpl_' function name prefix if not necessary. > Reported by Andrew Schulman <[email protected]> in > <https://lists.gnu.org/archive/html/bug-gnulib/2025-11/msg00100.html>. > * m4/argp.m4 (gl_ARGP): Don't rename argp_parse to rpl_argp_parse in > config.h if libc does not have argp_parse().
That makes sense, thanks. I still would still try to remove all the rpl_* definitions in the Cygwin package to avoid future breakage though. That is, if we replace argp_* functions in the future. That seems like a real possibility, since I recall Lasse Collin reporting that argp doesn't handle characters occupying multiple screen columns [1]. Unrelated, but I should have another look at that issue. I don't use argp much, so who knows how successful I will be in fixing it, though. Collin [1] https://lists.nongnu.org/archive/html/bug-gnulib/2024-04/msg00179.html
