+Sun Apr 21 12:23:40 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
+
+ * include/dpkg.h.in: add DIFF #define
+ * main/configure.c: use it
+
Sun Apr 14 16:13:16 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
* man/en/deb-old.5.sgml: DocBook version of deb-old manpage
Sun Apr 14 00:49:09 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
- * scripts/controlllib.pl: accept multilpe consectucive empty lines
+ * scripts/controlllib.pl: accept multilpe consecutive empty lines
Sat Apr 13 22:59:25 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
* dpkg - main program for package management
* configure.c - configure packages
*
- * Copyright (C) 1995 Ian Jackson <iwj10@cus.cam.ac.uk>
+ * Copyright 1995 Ian Jackson <iwj10@cus.cam.ac.uk>
+ * Copyright 1999 Wichert Akkerman <wichert@deephackmode.org>
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
char cmdbuf[1024];
p= getenv(PAGERENV);
if (!p || !*p) p= DEFAULTPAGER;
- sprintf(cmdbuf, "diff -Nu %.250s %.250s | %.250s", cdr.buf, cdr2.buf, p);
+ sprintf(cmdbuf, DIFF " -Nu %.250s %.250s | %.250s", cdr.buf, cdr2.buf, p);
s= getenv(SHELLENV);
if (!s || !*s) s= DEFAULTSHELL;
execlp(s,s,"-c", cmdbuf, NULL);
- ohshite(_("failed to run diff (%.250s)"), cmdbuf);
+ ohshite(_("failed to run %s (%.250s)"), DIFF, cmdbuf);
}
while ((r= waitpid(c1,&status,0)) == -1 && errno == EINTR);
if (r != c1) { onerr_abort++; ohshite(_("wait for shell failed")); }