inline getprogname replacement
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Jan 2026 19:27:54 +0000 (22:27 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 26 May 2026 12:46:55 +0000 (15:46 +0300)
commitefe9bbc0d69cb99a492da9b4c196437054cc4051
tree0ca752c0e4d860da6ccafb5fb456a456e95cb1f8
parent76c717eb3bec7c3218326fcd0458d9b86941c568
inline getprogname replacement

Forwarded: not-needed

Inline getprogname() by using program_invocation_short_name
when available (like with glibc).

This makes a lot of binaries to avoid linkage to libreplace.

This is a short and dirty version, proper change for upstream
should clean up #ifdef'fery in replace.c.

Gbp-Pq: Name inline-getprogname.diff
lib/replace/replace.c
lib/replace/replace.h