Bug#2447: "dselect" compilation buglet
Package: dpkg
The debian-68k people mentioned this, and then I hit it tonight on i386.
This patch will make "dselect/main.cc" compile with the current g++.
Thanks
Bruce
*** main.cc.old Thu Feb 29 19:43:09 1996
--- main.cc Thu Feb 29 19:42:29 1996
***************
*** 96,101 ****
--- 96,102 ----
stderr)) werr("stderr");
}
+ extern "C" {
static void helponly(const struct cmdinfo*, const char*) {
usage(); exit(0);
}
***************
*** 108,113 ****
--- 109,115 ----
if (!debug) ohshite("couldn't open debug file `%.255s'\n",v);
setvbuf(debug,0,_IONBF,0);
}
+ };
static const struct cmdinfo cmdinfos[]= {
{ "admindir", 0, 1, 0, &admindir, 0 },
--
Bruce Perens <Bruce@Pixar.com> A campaigner for Clinton and against Censorship.
Toy Story: $183M and counting. At $184M it will beat the #1 movie of 1995.
Reply to: