+3.0 -> 3.0.1
+ - fix: %verifyscript resurrected. (Shing-Gene Yung).
+ - fix: % before non-alphabetic non-macro special now passed unscathed.
+
2.94 -> 2.95
- fix: last update transaction set segfault bug in installer.
- improved checks for statfs (Tim Mooney).
partname = "%postun";
break;
case PART_VERIFYSCRIPT:
- tag = PART_VERIFYSCRIPT;
+ tag = RPMTAG_VERIFYSCRIPT;
progtag = RPMTAG_VERIFYSCRIPTPROG;
partname = "%verifyscript";
break;
#
# get rid of the 4-th tuple, if config.guess returned "linux-gnu" for build_os
#
+if echo "$build_os" | grep '.*-gnulibc1' > /dev/null ; then
+ build_os=`echo "${build_os}" | sed 's/-gnulibc1$//'`
+fi
if echo "$build_os" | grep '.*-gnu' > /dev/null ; then
build_os=`echo "${build_os}" | sed 's/-gnu$//'`
fi
.PHONY: lclint
lclint:
lclint ${DEFS} ${INCLUDES} ${librpm_la_SOURCES}
+
+tmacro: macro.c
+ $(CC) $(CFLAGS) ${DEFS} -DDEBUG_MACROS ${INCLUDES} -o $@ $<
+
#ifdef DEBUG_MACROS
#define rpmError fprintf
#define RPMERR_BADSPEC stderr
+#undef _
#define _(x) x
#define xfree(_p) free((void *)_p)
+typedef int FD_t;
+#define fdFileno(_x) (_x)
+#define fdOpen open
+#define fdRead read
+#define fdClose close
#else
#include "rpmlib.h"
#endif
fn = (fe - f);
gn = (ge - g);
if (fn <= 0) {
+/* XXX Process % in unknown context */
+ c = '%'; /* XXX only need to save % */
+ SAVECHAR(mb, c);
+#if 0
rpmError(RPMERR_BADSPEC, _("A %% is followed by an unparseable macro"));
+#endif
s = se;
continue;
}
#ifdef DEBUG_MACROS
MacroContext mc = { NULL, 0, 0};
-char *macrofiles = "./paths:./environment:./macros";
+char *macrofiles = "../macros";
char *testfile = "./test";
int
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 1999-04-18 16:57-0400\n"
+"POT-Creation-Date: 1999-04-20 14:43-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#ifdef DEBUG_MACROS
#define rpmError fprintf
#define RPMERR_BADSPEC stderr
+#undef _
#define _(x) x
#define xfree(_p) free((void *)_p)
+typedef int FD_t;
+#define fdFileno(_x) (_x)
+#define fdOpen open
+#define fdRead read
+#define fdClose close
#else
#include "rpmlib.h"
#endif
fn = (fe - f);
gn = (ge - g);
if (fn <= 0) {
+/* XXX Process % in unknown context */
+ c = '%'; /* XXX only need to save % */
+ SAVECHAR(mb, c);
+#if 0
rpmError(RPMERR_BADSPEC, _("A %% is followed by an unparseable macro"));
+#endif
s = se;
continue;
}
#ifdef DEBUG_MACROS
MacroContext mc = { NULL, 0, 0};
-char *macrofiles = "./paths:./environment:./macros";
+char *macrofiles = "../macros";
char *testfile = "./test";
int