]> git.gag.com Git - debian/amanda/blobdiff - perl/Amanda/Application.pm
Imported Upstream version 3.3.2
[debian/amanda] / perl / Amanda / Application.pm
index eada210de48c7ae8c0b1d4b81dba8a900a0690dc..e2dc296b3084f1f5533c38bb25c674a766b067d0 100644 (file)
@@ -1,5 +1,5 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.39
+# Version 2.0.4
 #
 # Do not make changes to this file unless you know what you are doing--modify
 # the SWIG interface file instead.
@@ -114,6 +114,7 @@ require Amanda::Script_App;
 
 use strict;
 use warnings;
+use IO::Handle;
 use Amanda::Config qw( :init :getconf  config_dir_relative );
 
 
@@ -169,4 +170,14 @@ sub read_magic_block {
 
     return $type;
 }
+
+sub _set_mesgout {
+    my $self = shift;
+
+    my $mesgout = IO::Handle->new();
+    $mesgout->fdopen(3,"a") || die("Can't open mesgout_fd: $!");
+    $mesgout->autoflush(1);
+    $self->{mesgout} = $mesgout;
+}
+
 1;