Advertisement
Guest User

Untitled

a guest
Dec 25th, 2016
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 3.54 KB | None | 0 0
  1. Index: engine/PerlLib/iMSCP/Execute.pm
  2. IDEA additional info:
  3. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  4. <+>UTF-8
  5. ===================================================================
  6. --- engine/PerlLib/iMSCP/Execute.pm (revision b45664efeae611b63694b7e43d5962969539301f)
  7. +++ engine/PerlLib/iMSCP/Execute.pm (revision )
  8. @@ -37,7 +37,6 @@
  9.  BEGIN { $vendorLibDir = realpath( dirname( __FILE__ ).'/../../PerlVendor' ); }
  10.  use lib $vendorLibDir;
  11.  use Capture::Tiny ':all';
  12. -use open qw/ :std :utf8 /;
  13.  use parent 'Exporter';
  14.  
  15.  our @EXPORT = qw/ execute executeNoWait escapeShell getExitCode /;
  16. Index: engine/PerlLib/iMSCP/Bootstrapper.pm
  17. IDEA additional info:
  18. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  19. <+>UTF-8
  20. ===================================================================
  21. --- engine/PerlLib/iMSCP/Bootstrapper.pm    (revision b45664efeae611b63694b7e43d5962969539301f)
  22. +++ engine/PerlLib/iMSCP/Bootstrapper.pm    (revision )
  23. @@ -31,7 +31,7 @@
  24.  use iMSCP::Getopt;
  25.  use IO::Handle;
  26.  use locale;
  27. -use open qw/ :std :utf8 /;
  28. +use open OUT => ':utf8';
  29.  use POSIX qw / tzset locale_h /;
  30.  use parent 'Common::SingletonClass';
  31.  
  32. Index: engine/PerlLib/iMSCP/Mount.pm
  33. IDEA additional info:
  34. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  35. <+>UTF-8
  36. ===================================================================
  37. --- engine/PerlLib/iMSCP/Mount.pm   (revision b45664efeae611b63694b7e43d5962969539301f)
  38. +++ engine/PerlLib/iMSCP/Mount.pm   (revision )
  39. @@ -30,7 +30,6 @@
  40.  use File::stat ();
  41.  use iMSCP::Debug;
  42.  use iMSCP::Syscall;
  43. -use open qw/ :std :utf8 /;
  44.  use Scalar::Defer;
  45.  use Quota;
  46.  use parent 'Exporter';
  47. Index: engine/PerlLib/iMSCP/Dialog.pm
  48. IDEA additional info:
  49. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  50. <+>UTF-8
  51. ===================================================================
  52. --- engine/PerlLib/iMSCP/Dialog.pm  (revision b45664efeae611b63694b7e43d5962969539301f)
  53. +++ engine/PerlLib/iMSCP/Dialog.pm  (revision )
  54. @@ -29,7 +29,7 @@
  55.  use iMSCP::Execute;
  56.  use iMSCP::Getopt;
  57.  use iMSCP::ProgramFinder;
  58. -use open qw/ :std :utf8 /;
  59. +use open OUT => ':utf8';
  60.  use parent 'Common::SingletonClass';
  61.  
  62.  =head1 DESCRIPTION
  63. Index: engine/PerlLib/Servers/mta/postfix.pm
  64. IDEA additional info:
  65. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  66. <+>UTF-8
  67. ===================================================================
  68. --- engine/PerlLib/Servers/mta/postfix.pm   (revision b45664efeae611b63694b7e43d5962969539301f)
  69. +++ engine/PerlLib/Servers/mta/postfix.pm   (revision )
  70. @@ -786,7 +786,7 @@
  71.              [ 'postconf', '-c', $self->{'config'}->{'POSTFIX_CONF_DIR'}, keys %params ],
  72.              sub {
  73.                  my $buffer = shift;
  74. -                open my $stdout, '<:utf8', \$buffer or die( sprintf( 'Could not open: %s', $! ) );
  75. +                open my $stdout, '<', \$buffer or die( sprintf( 'Could not open in-memory file: %s', $! ) );
  76.                  while(<$stdout>) {
  77.                      /^([^=]+)\s+=\s+(.*)/;
  78.                      next unless defined $1 && defined $2;
  79. Index: engine/PerlLib/iMSCP/File.pm
  80. IDEA additional info:
  81. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  82. <+>UTF-8
  83. ===================================================================
  84. --- engine/PerlLib/iMSCP/File.pm    (revision b45664efeae611b63694b7e43d5962969539301f)
  85. +++ engine/PerlLib/iMSCP/File.pm    (revision )
  86. @@ -28,7 +28,7 @@
  87.  use iMSCP::Debug;
  88.  use File::Copy;
  89.  use File::Basename;
  90. -use open qw/ :std :utf8 /;
  91. +use open OUT => ':utf8';
  92.  use parent 'Common::Object';
  93.  
  94.  =head1 DESCRIPTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement