summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Compression/FileHandle.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dpkg/Compression/FileHandle.pm')
-rw-r--r--scripts/Dpkg/Compression/FileHandle.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Dpkg/Compression/FileHandle.pm b/scripts/Dpkg/Compression/FileHandle.pm
index b0aff7b35..e7c9082c1 100644
--- a/scripts/Dpkg/Compression/FileHandle.pm
+++ b/scripts/Dpkg/Compression/FileHandle.pm
@@ -228,7 +228,7 @@ sub CLOSE {
sub FILENO {
my ($self) = shift;
return *$self->{"file"}->fileno(@_) if defined *$self->{"file"};
- return undef;
+ return;
}
sub EOF {
@@ -252,7 +252,7 @@ sub TELL {
sub BINMODE {
my ($self) = shift;
return *$self->{"file"}->binmode(@_) if defined *$self->{"file"};
- return undef;
+ return;
}
##