diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-11-20 11:39:30 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-11-20 11:39:30 +0000 |
commit | 02f7b78940d96647e321792e367aceba0ab0cfc2 (patch) | |
tree | 349aaf30e537b2b48b9c4ac8f515a29607c34312 | |
parent | 304e7d8a44fe66046b086dd29a72528c9604a16f (diff) |
theo's right. use random_name for truely random stuff.
rename variable and index accordingly.
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Ustar.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Ustar.pm b/usr.sbin/pkg_add/OpenBSD/Ustar.pm index e4e4680713b..3972b4b7acc 100644 --- a/usr.sbin/pkg_add/OpenBSD/Ustar.pm +++ b/usr.sbin/pkg_add/OpenBSD/Ustar.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Ustar.pm,v 1.84 2014/09/01 11:29:15 espie Exp $ +# $OpenBSD: Ustar.pm,v 1.85 2014/11/20 11:39:29 espie Exp $ # # Copyright (c) 2002-2014 Marc Espie <espie@openbsd.org> # @@ -328,7 +328,7 @@ sub pack_header return $header; } -my $random_name = "A_random_name000"; +my $whatever = "usual_suspect000"; sub mkheader { @@ -394,8 +394,8 @@ sub mkheader } if ($x) { my $extended = $archive->pack_header(XHDR, length($x), $entry, - '', $random_name, '', $uname, $gname, $major, $minor); - $random_name++; + '', $whatever, '', $uname, $gname, $major, $minor); + $whatever++; if ((length $x) % 512) { $x .= "\0" x (512 - ((length $x) % 512)); } |