diff options
author | Adam Heath <doogie@debian.org> | 2001-04-23 07:21:00 +0000 |
---|---|---|
committer | Adam Heath <doogie@debian.org> | 2001-04-23 07:21:00 +0000 |
commit | ecb9054f73b151acfa0fa81f1e89ce85ce8350c4 (patch) | |
tree | 7d146df4c0dfacb0175c459b82eca5d74a2f2e23 /dpkg-deb | |
parent | cb7d4462eb2cfa8d62ae2d479b2c8c8ba0936e12 (diff) | |
download | dpkg-ecb9054f73b151acfa0fa81f1e89ce85ce8350c4.tar.gz |
Add comments telling why we use tempnam() and tmpnam().
Diffstat (limited to 'dpkg-deb')
-rw-r--r-- | dpkg-deb/info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c index 01e36cba1..00e3e1be1 100644 --- a/dpkg-deb/info.c +++ b/dpkg-deb/info.c @@ -64,6 +64,7 @@ static void info_prepare(const char *const **argvp, *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; |