[Rpm-maint] RPM 4.12.0 beta1 released

Thierry Vignaud thierry.vignaud at gmail.com
Mon Aug 25 15:23:43 UTC 2014

On 18 August 2014 10:44, Panu Matilainen <pmatilai at redhat.com> wrote:
> As usual, the full details & download info are at
>     http://rpm.org/wiki/Releases/4.12.0

The attached program shows a regression that is affecting URPM.
Now Fclose() returns -2 in the same code path where rpm-4.11.x returned 0:

# RPM-4.11:
$ gcc -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe
-fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-Wextra -fno-strict-aliasing -DRPM490 -O2 -g -pipe -Wformat
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -fPIC -lrpm -lrpmio -lrpmbuild t.c -o tt
Fclose() ==0

# RPM-4.12:
$ ./tt
Fclose() ==-2
close() 1 => OK=0

(just put any compressed string in the target path.eg: "echo toto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.c
Type: text/x-csrc
Size: 1427 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20140825/491b61fa/attachment.c>

More information about the Rpm-maint mailing list