[Rpm-maint] [rpm-software-management/rpm] Add and use rstrndup() API for duplicating partial strings (#1425)

Panu Matilainen notifications at github.com
Thu Nov 5 12:21:11 UTC 2020


You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1425

-- Commit Summary --

  * Implement strndup() equivalent using rpm alloc failure system
  * Convert some obvious cases to use rstrndup() instead of manual work

-- File Changes --

    M lib/rpmdb.c (3)
    M rpmio/argv.c (6)
    M rpmio/macro.c (8)
    M rpmio/rpmmalloc.c (12)
    M rpmio/rpmutil.h (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1425.patch
https://github.com/rpm-software-management/rpm/pull/1425.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1425
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201105/7c88dc40/attachment.html>


More information about the Rpm-maint mailing list