From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 Description of problem: RPM 4.0.4 incorrectly assumes C99 vsnprintf() behavior. This breaks RPM on IRIX 6.5, Solaris 2.5.1, and Tru64 UNIX. The patch below fixes this. This patch uses the trio *snprintf() replacement functions from: http://ctrio.sourceforge.net and assumes the trio source files are in rpmio/ (not included in this patch). The AC_FUNC_VSNPRINTF_C99 macro was stolen from glib 2.2.1. Without this patch, -q --scripts is essentially broken on the above platforms. Version-Release number of selected component (if applicable): 4.0.4 How reproducible: Sometimes Steps to Reproduce: N/A Additional info:
Created attachment 91201 [details] Use vsnprintf() replacement functions from trio library if vsnprintf() not C99 compliant
Patches for rpm porting to non linux platforms should be done at rpm-devel https://lists.dulug.duke.edu/mailman/listinfo/rpm-devel