Description of Problem:
rpm segfaults upon being run on solaris. This is because the uname()
syscall on solaris returns non-negative on success, whereas on linux it
returns 0 on success.
changing line 982 in lib/rpmrc.c
if (rc) return;
if (rc < 0) return;
appears to fix this
Steps to Reproduce:
Fixed in next checkin, should be in rpm-4.0.3-0.29.