summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-07 09:37:31 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-07 09:37:31 +0000
commitddd19b65c1d5665e1b7407b178466731b83a4b65 (patch)
tree3793b21c80ae82a3e8d8ffd5d69e6355ba1b85c5
parentd033b65043484e321e35a09517cb5c38a26bf098 (diff)
zap old unused code
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Temp.pm7
-rw-r--r--usr.sbin/pkg_add/pkg_create4
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Temp.pm b/usr.sbin/pkg_add/OpenBSD/Temp.pm
index 105ba520a52..c625b9747dd 100644
--- a/usr.sbin/pkg_add/OpenBSD/Temp.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Temp.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Temp.pm,v 1.8 2007/05/07 09:32:51 espie Exp $
+# $OpenBSD: Temp.pm,v 1.9 2007/05/07 09:37:30 espie Exp $
#
# Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org>
#
@@ -85,11 +85,6 @@ sub file()
return $file;
}
-sub list($)
-{
- return File::Temp::tempfile("list.XXXXXXXXXXX", DIR => shift);
-}
-
sub permanent_file
{
my ($dir, $stem) = @_;
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index 8712e2dbc3d..88f9256df6a 100644
--- a/usr.sbin/pkg_add/pkg_create
+++ b/usr.sbin/pkg_add/pkg_create
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_create,v 1.95 2007/05/06 15:41:47 espie Exp $
+# $OpenBSD: pkg_create,v 1.96 2007/05/07 09:37:30 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -197,8 +197,6 @@ sub verify_checksum
package OpenBSD::PackingElement::Cwd;
-use OpenBSD::Temp;
-
sub archive
{
my ($self, $arc, $base) = @_;