> @@ -86,20 +90,7 @@ char * stpncpy(char * dest, const char * src, size_t n);
>  #define xstrdup(_str) rstrdup((_str))
>  #define _free(_ptr) rfree((_ptr))
>  
> -/* Retrofit glibc __progname */
> -#if defined __GLIBC__ && __GLIBC__ >= 2
> -#if __GLIBC_MINOR__ >= 1
> -#define      __progname      __assert_program_name
> -#endif
> -#define      setprogname(pn)
> -#else
> -#define      __progname      program_name
> -#define      setprogname(pn) \
> -  { if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \
> -    else __progname = pn;            \
> -  }
> -#endif
> -extern const char *__progname;
> +#define __progname getprogname()

This has now been fixed by applying the patch from 2013.

---
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/57/files#r52860373
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to