summaryrefslogtreecommitdiff
path: root/dselect/methparse.cc
diff options
context:
space:
mode:
authorWichert Akkerman <wakkerma@debian.org>2001-03-04 14:39:05 +0000
committerWichert Akkerman <wakkerma@debian.org>2001-03-04 14:39:05 +0000
commitcf5d2919f686a15e8e623130b74af3ba2428fbeb (patch)
treea96249403c259c1395fdb029546e57d33d3cd121 /dselect/methparse.cc
parentdd5c3a87f1526809949980499437be1f02eb8706 (diff)
downloaddpkg-cf5d2919f686a15e8e623130b74af3ba2428fbeb.tar.gz
* ChangeLog: undo file corruption (ugh)
* utils/start-stop-daemon.8: fix typo * configure.in: use AC_C_INLINE instead of our own test * lib/nfmalloc, include/dpkg-db.h: remove HAVE_INLINE tests, use extern inline directly * lib/varbuf.c: add inline keyowrd to varbufaddc * optlib/Makefile.in: undo earlier patch and build libopt.a again * lib/Makefile.in: use libopt.a again, and a rule to build it * Makefile.in: build optlib before lib * Makefile.conf.in: add RANLIB * dselect/method.h, dselect/methlist.cc, dselect/method.cc, dselect/methparse.cc: rename struct option to dselect_option to prevent conflict with getopt.h * main/help.c: rework do_script a bit to compile without errors * scripts/dpkg-gencontrol.1: add -n option to specify filename * scripts/dpkg-source.1: + document -n option for dpkg-gencontrol + fix confusing wording for dpkg-buildpackage -uc option + fix layout error for dpkg-distaddfile section + it's DEADJOE, not DEAD_JOEY * scripts/dpkg-architecture.pl: + apply cleanup patch from Julian Gilbey + modify gcc regexp to recognize gcc versions like 2.96-ia64-000717 * scripts/dpkg-checkbuilddeps.pl, scripts/dpkg-checkbuilddeps.1: new script from Joey Hess to check build dependencies * THANKS: Add Joey Hess * scripts/dpkg-parsechangelog.pl: + support reading changelog from stdin + remove Linux reference * scripts/dpkg-statoverride.pl: exit with exitcode 1 if we do --list but don't output anything, and use exitcode 2 if we try to remove a non-exiting override (unless --force is given). * scripts/dpkg-statoverride.8: document new exitcode for --list * main/main.c, main/dpkg.8: remove --smallmem and --largemem references * scripts/dpkg-buildpackage.sh: + don't bother to specify architecture settings on commandlines since we put them in the environment already + remove debsign support, it's useless and debsign can't handle it + use DEB_BUILD_ARCH to get build architecture, not DEB_HOST_ARCH + remove Linux reference * scripts/dpkg-scanpackages.pl: mark last argument as optional in usage info * scripts/dpkg-scanpackages.8, scripts/dpkg-name.1, scripts/dpkg-shlibdeps.pl, scripts/dpkg-source.pl, scripts/822-date.1, scripts/cl-debian.pl, scripts/cleanup-info.pl, scripts/dpkg-genchanges.pl, scripts/dpkg-distaddfile.pl, scripts/dpkg-source.1, scripts/dpkg-divert.pl, scripts/install-info.pl, scripts/install-info.8, scripts/dpkg-gencontrol.pl, scripts/update-alternatives.pl, scripts/update-rc.d.8: remove Linux references
Diffstat (limited to 'dselect/methparse.cc')
-rw-r--r--dselect/methparse.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/dselect/methparse.cc b/dselect/methparse.cc
index aee018ed9..17f015da4 100644
--- a/dselect/methparse.cc
+++ b/dselect/methparse.cc
@@ -42,7 +42,7 @@ extern "C" {
#include "bindings.h"
int noptions=0;
-struct option *options=0, *coption=0;
+struct dselect_option *options=0, *coption=0;
struct method *methods=0;
static void badmethod(const char *pathname, const char *why) NONRETURNING;
@@ -57,7 +57,7 @@ static void eofmethod(const char *pathname, FILE *f, const char *why) {
badmethod(pathname,why);
}
-void readmethods(const char *pathbase, option **optionspp, int *nread) {
+void readmethods(const char *pathbase, dselect_option **optionspp, int *nread) {
static const char *const methodprograms[]= {
METHODSETUPSCRIPT, METHODUPDATESCRIPT, METHODINSTALLSCRIPT, 0
};
@@ -69,7 +69,7 @@ void readmethods(const char *pathbase, option **optionspp, int *nread) {
struct dirent *dent;
struct varbuf vb;
method *meth;
- option *opt, **optinsert;
+ dselect_option *opt, **optinsert;
struct stat stab;
baselen= strlen(pathbase);
@@ -131,7 +131,7 @@ void readmethods(const char *pathbase, option **optionspp, int *nread) {
while ((c= fgetc(names)) != EOF) {
if (isspace(c)) continue;
- opt= new option;
+ opt= new dselect_option;
opt->meth= meth;
vb.reset();
do {
@@ -228,7 +228,7 @@ void getcurrentopt() {
int admindirlen;
char *p;
method *meth;
- option *opt;
+ dselect_option *opt;
if (!methoptfile) {
admindirlen= strlen(admindir);