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, 12 May 2026 18:10:42 +0000 (21:10 +0300)
commitef51eb2d46c7c7f0437639038fb6b141b4bc60a8
tree66bec824882c7649da70325e997281813214329c
parent30a351bc0e98b9b1ef2ca9d396e318b2be93e602
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