From f62c132a889befa8382fbab889df207b5a8e9a67 Mon Sep 17 00:00:00 2001 From: epg <> Date: Sun, 25 Apr 2004 22:30:15 +0000 Subject: [PATCH] (get_headers): Check errors on open. --- minc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minc b/minc index e0c5c73..d008d66 100755 --- a/minc +++ b/minc @@ -432,7 +432,7 @@ sub get_headers { my $fieldname; # unmolested header name my $contents; # contents of header - open(MSG, $msg); + open(MSG, $msg) or die("open(MSG, $msg): $!"); while () { chomp; if (length == 0) { -- 2.56.0