+Mon Apr 23 02:17:26 CDT 2001 Adam Heath <doogie@debian.org>
+
+ * dpkg-deb/info.c, main/processarc.c: Add comments telling why we
+ use tempnam() and tmpnam().
+
Sun Apr 22 23:59:00 CDT 2001 Adam Heath <doogie@debian.org>
* archtable: Added alphaev67-linux-gnu.
*debarp= *(*argvp)++;
if (!*debarp) badusage(_("--%s needs a .deb filename argument"),cipaction->olong);
+ /* This created a temporary directory, so ignore the warning. */
if ((dbuf= tempnam(NULL,"dpkg")) == NULL)
ohshite(_("failed to make temporary filename"));
*directoryp= dbuf;
if (f_noact) {
cidir= cidirtmpnambuf;
+ /* We use tmpnam here, not to get a unique filename, but to get a unique directory. */
if (!tmpnam(cidir)) ohshite(_("unable to get unique filename for control info"));
strcat(cidir,"/");
} else {