artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5da130b
)
EOF does not result in an error code, as spotted by stsp@
author
espie
<espie@openbsd.org>
Sat, 28 May 2022 23:20:28 +0000
(23:20 +0000)
committer
espie
<espie@openbsd.org>
Sat, 28 May 2022 23:20:28 +0000
(23:20 +0000)
usr.sbin/pkg_add/OpenBSD/Ustar.pm
patch
|
blob
|
history
diff --git
a/usr.sbin/pkg_add/OpenBSD/Ustar.pm
b/usr.sbin/pkg_add/OpenBSD/Ustar.pm
index
8fb2e3e
..
16434ef
100644
(file)
--- 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.9
0 2022/05/08 13:31:41
espie Exp $
+# $OpenBSD: Ustar.pm,v 1.9
1 2022/05/28 23:20:28
espie Exp $
#
# Copyright (c) 2002-2014 Marc Espie <espie@openbsd.org>
#
@@
-115,7
+115,7
@@
sub skip
$self->fatal("Error while skipping archive: #1", $!);
}
if ($actual == 0) {
- $self->fatal("Premature end of archive in header
: #1", $!
);
+ $self->fatal("Premature end of archive in header
"
);
}
$self->{swallow} -= $actual;
}