]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- outdated
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 30 Jan 2008 22:13:30 +0000 (22:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-missing-prototypes.patch -> 1.4
    rpm-reduce-stack-usage.patch -> 1.3

rpm-missing-prototypes.patch [deleted file]
rpm-reduce-stack-usage.patch [deleted file]

diff --git a/rpm-missing-prototypes.patch b/rpm-missing-prototypes.patch
deleted file mode 100644 (file)
index fae8c4d..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- rpm-4.3/lib/rpmfi.c.orig   2004-01-12 09:39:32.000000000 +0000
-+++ rpm-4.3/lib/rpmfi.c        2004-01-12 10:34:20.000000000 +0000
-@@ -13,6 +13,8 @@
- #include "rpmds.h"
-+#include "legacy.h"
-+
- #define       _RPMFI_INTERNAL
- #include "rpmfi.h"
---- rpm-4.3/lib/rpmrc.c.orig   2004-01-12 09:39:32.000000000 +0000
-+++ rpm-4.3/lib/rpmrc.c        2004-01-12 10:54:42.000000000 +0000
-@@ -14,6 +14,7 @@
- #define __power_pc() 0
- #endif
-+#include "rpmio_internal.h"
- #include <rpmcli.h>
- #include <rpmmacro.h>
- #include <rpmlua.h>
-
diff --git a/rpm-reduce-stack-usage.patch b/rpm-reduce-stack-usage.patch
deleted file mode 100644 (file)
index 7ba0265..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
---- rpm-4.4.8/rpmio/macro.c.orig       2007-01-21 21:37:58.000000000 +0100
-+++ rpm-4.4.8/rpmio/macro.c    2007-04-08 19:50:49.214644921 +0200
-@@ -942,7 +942,8 @@
-       /*@globals rpmGlobalMacroContext @*/
-       /*@modifies mb, rpmGlobalMacroContext @*/
- {
--    char buf[BUFSIZ], *b, *be;
-+    static char buf[BUFSIZ];
-+    char *b, *be;
-     char aname[16];
-     const char *opts, *o;
-     int argc = 0;
-@@ -1850,7 +1851,7 @@
-       return 0;
-     if (mc == NULL) mc = rpmGlobalMacroContext;
--    tbuf = alloca(slen + 1);
-+    tbuf = xmalloc(slen + 1);
-     memset(tbuf, 0, (slen + 1));
-     mb->s = sbuf;
-@@ -1870,6 +1871,7 @@
-       rpmError(RPMERR_BADSPEC, _("Macro expansion too big for target buffer\n"));
-     else
-       strncpy(sbuf, tbuf, (slen - mb->nb + 1));
-+    free(tbuf);
-     return rc;
- }
-@@ -2308,7 +2310,7 @@
- const char *
- rpmGetPath(const char *path, ...)
- {
--    char buf[BUFSIZ];
-+    static char buf[BUFSIZ];
-     const char * s;
-     char * t, * te;
-     va_list ap;
This page took 0.10992 seconds and 4 git commands to generate.