Red Hat Bugzilla – Bug 131944
strndup usage isn't portable
Last modified: 2007-11-30 17:10:48 EST
Description of problem:
- Not every platform has the "strndup" function
(suggesting using HAVE_STRNDUP or something ?)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Compile RPM 4.3.x on non-Linux platforms
Actual Results: Compile failure.
Expected Results: Compile success.
Created attachment 103530 [details]
Added to HEAD and rpm-4_4 branches, should be in rpm-4.4.1-0.6 when built.
Thanks for the patch.