@@ -1,3 +1,10 @@
+Fri Feb 23 10:22:02 CET 2001 Wichert Akkerman <wakkerma@debian.org>
+
+ * scripts/dpkg-divert.pl: fix typo in usage message
+ * main/help.c: mangle argv[0] in do_script to always be the full path
+ * include/dpkg-db.h: include string.h so things compile on ia64
+ * scripts/dpkg-architecture.pl: add ia64
Thu Feb 15 11:24:46 EST 2001 Ben Collins <bcollins@debian.org>
* utils/Makefile.in: Do not use libopt.a, since libdpkg.a not includes those
@@ -19,6 +19,9 @@ dpkg (1.9.0) unstable; urgency=low
Closes: Bug#82797
* Fix manpage for dpkg-gencontrol. Fies: Bug#84625
* Use POSIX glob instead of regexp in debian/rules. Closes: Bug#84582
+ * fix typo in usage message for dpkg-divert, Closes: Bug#85977
+ * Use full path for argv[0] when calling scripts. Closes: Bug#68783
+ * Add ia64 support to dpkg-architecture.
-- Wichert Akkerman <wakkerma@debian.org> UNRELEASED
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
struct versionrevision {
unsigned long epoch;
@@ -260,6 +260,7 @@ static int do_script(const char *pkg, const char *scriptname, const char *script
c1= m_fork();
if (!c1) {
scriptexec= preexecscript(scriptpath,arglist);
+ arglist[0]=scriptexec;
execv(scriptexec,arglist);
ohshite(desc,name);
}
@@ -61,6 +61,7 @@ require 'controllib.pl';
'hppa', 'hppa-linux',
'hurd-i386', 'i386-gnu',
's390', 's390-linux',
+ 'ia64', 'ia64-linux',
'openbsd-i386', 'i386-openbsd'
'freebsd-i386', 'i386-freebsd');
@@ -25,7 +25,7 @@ Usage:
dpkg-divert [options] [--add] <file> - add a diversion
dpkg-divert [options] --remove <file> - remove the diversion
dpkg-divert [options] --list [<glob-pattern>] - show file diversions
- dpkg-divert [options] --truname <file> - return the diverted file
+ dpkg-divert [options] --truename <file> - return the diverted file
Options:
--package <package> name of the package whose copy of <file>
@@ -936,8 +936,8 @@ sub extracttar {
defined($c2= fork) || &syserr("fork for tar -xkf -");
if (!$c2) {
open(STDIN,"<&GZIP") || &syserr("reopen gzip for tar -xkf -");
- chdir("$dirchdir") || &syserr("cannot chdir to \`$dirchdir' for tar extract");
&cpiostderr;
+ chdir("$dirchdir") || &syserr("cannot chdir to \`$dirchdir' for tar extract");
exec('tar','-xkf','-'); &syserr("exec tar -xkf -");
close(GZIP);