diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:29:00 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:29:00 +0000 |
commit | b66af3de165953fb15a8295a528202db665f484e (patch) | |
tree | 7bc1457adfec3bc931850e39143ea5beb8c659a6 /usr.sbin/pkg_add/OpenBSD/PackingList.pm | |
parent | 040a5435e573e7f9bdf12eac23ae6aa9c925e4b7 (diff) |
make packing-lists more regular by including the CONTENTS. Avoid
`recursion' by not writing it out. also remove PackingList::write,
since it's a simple visitor.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingList.pm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index e81801e186a..0422cc0d11f 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingList.pm,v 1.56 2007/04/29 10:52:15 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.57 2007/04/29 11:28:59 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -247,15 +247,6 @@ MAINLOOP: } } -sub write -{ - my ($self, $fh) = @_; - - $self->visit('write', $fh); - -} - - sub fromfile { my ($a, $fname, $code) = @_; |