Commit e1141652 authored by intrigeri's avatar intrigeri

Re-add loading POSIX: we use it for more than setlocale

E.g. for getuid().
parent fa34b647
......@@ -36,6 +36,7 @@ use Carp;
use Carp::Assert::More;
use Fatal qw{open close};
use Locale::TextDomain 'tails';
use POSIX;
use Tails::Download::HTTPS;
use Try::Tiny;
use XML::Atom;
......
......@@ -27,6 +27,7 @@ use Data::Dumper;
use Desktop::Notify;
use English '-no_match_vars';
use Locale::TextDomain 'tails';
use POSIX;
### initialization
......
......@@ -27,6 +27,7 @@ use English '-no_match_vars';
use IPC::System::Simple qw{capturex $EXITVAL};
use Locale::TextDomain 'tails';
use Net::DBus::Reactor;
use POSIX;
### callbacks
......
......@@ -19,6 +19,7 @@ use Function::Parameters;
use IPC::Run;
use Number::Format qw(:subs);
use Path::Tiny;
use POSIX;
use String::Errf qw{errf};
use Tails::Download::HTTPS;
use Tails::RunningSystem;
......
......@@ -16,6 +16,7 @@ use Carp;
use Carp::Assert::More;
use Function::Parameters;
use POSIX;
use Tails::Persistence::Configuration::Atom;
use Tails::Persistence::Configuration::ConfigFile;
use Tails::Persistence::Configuration::Presets;
......
......@@ -17,6 +17,7 @@ use autodie qw(:all);
use Carp;
use Function::Parameters;
use List::MoreUtils qw{all};
use POSIX;
use Tails::Persistence::Configuration::Atom;
use Types::Standard qw(ArrayRef Str);
......
......@@ -13,6 +13,7 @@ use Function::Parameters;
use Glib qw{TRUE FALSE};
use List::MoreUtils qw{all};
use Pango;
use POSIX;
use UUID::Tiny ':std';
use Glib::Object::Introspection;
......
......@@ -15,6 +15,7 @@ use Glib qw{TRUE FALSE};
use Gtk3 qw{-init};
use Locale::TextDomain 'tails';
use POSIX;
use Moo::Role;
use MooX::late;
......
......@@ -20,6 +20,7 @@ use Net::DBus::Annotation qw(:call);
use List::Util qw{first min max};
use Number::Format qw(:subs);
use Path::Tiny;
use POSIX;
use Types::Standard qw(Str HashRef);
use Try::Tiny;
use Types::Path::Tiny qw{Dir};
......
......@@ -14,6 +14,7 @@ use Glib qw{TRUE FALSE};
use IPC::System::Simple qw{systemx};
use Number::Format qw(:subs);
use POSIX;
use Types::Standard qw(HashRef);
use Locale::TextDomain 'tails';
......
......@@ -13,6 +13,7 @@ use Carp::Assert::More;
use Function::Parameters;
use Glib qw{TRUE FALSE};
use Number::Format qw(:subs);
use POSIX;
use Tails::Persistence::Configuration;
use Tails::Persistence::Configuration::Setting;
use Try::Tiny;
......
......@@ -14,6 +14,7 @@ use Glib qw{TRUE FALSE};
use Number::Format qw(:subs);
use Locale::TextDomain 'tails';
use POSIX;
use Moo;
use MooX::late;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment