Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
perl5 /
Dpkg /
Delete
Unzip
Name
Size
Permission
Date
Action
Build
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Changelog
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Compression
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Control
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Dist
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Interface
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Shlibs
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Source
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Vendor
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
Arch.pm
13.87
KB
-rw-r--r--
2022-05-24 15:28
BuildFlags.pm
11.57
KB
-rw-r--r--
2022-05-24 15:28
BuildOptions.pm
6.19
KB
-rw-r--r--
2022-05-24 15:28
BuildProfiles.pm
3.43
KB
-rw-r--r--
2022-05-24 15:28
Changelog.pm
20.15
KB
-rw-r--r--
2022-05-24 15:28
Checksums.pm
11.01
KB
-rw-r--r--
2022-05-24 15:28
Compression.pm
6.97
KB
-rw-r--r--
2022-05-24 15:28
Conf.pm
5.95
KB
-rw-r--r--
2022-05-24 15:28
Control.pm
7.19
KB
-rw-r--r--
2022-05-24 15:28
Deps.pm
41.75
KB
-rw-r--r--
2022-05-24 15:28
ErrorHandling.pm
4.98
KB
-rw-r--r--
2022-05-24 15:28
Exit.pm
2.07
KB
-rw-r--r--
2022-05-24 15:28
File.pm
1.98
KB
-rw-r--r--
2022-05-24 15:28
Getopt.pm
1.21
KB
-rw-r--r--
2022-05-24 15:28
Gettext.pm
5.44
KB
-rw-r--r--
2022-05-24 15:28
IPC.pm
11.62
KB
-rw-r--r--
2022-05-24 15:28
Index.pm
9.4
KB
-rw-r--r--
2022-05-24 15:28
Package.pm
1.26
KB
-rw-r--r--
2022-05-24 15:28
Path.pm
7.42
KB
-rw-r--r--
2022-05-24 15:28
Shlibs.pm
4.6
KB
-rw-r--r--
2022-05-24 15:28
Substvars.pm
10.38
KB
-rw-r--r--
2022-05-24 15:28
Util.pm
1.41
KB
-rw-r--r--
2022-05-24 15:28
Vars.pm
1.42
KB
-rw-r--r--
2022-05-24 15:28
Vendor.pm
5.4
KB
-rw-r--r--
2022-05-24 15:28
Version.pm
11.95
KB
-rw-r--r--
2022-05-24 15:28
Save
Rename
# Copyright © 2011 Raphaël Hertzog <hertzog@debian.org> # Copyright © 2012 Guillem Jover <guillem@debian.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. package Dpkg::File; use strict; use warnings; our $VERSION = '0.01'; our @EXPORT = qw( file_lock file_slurp ); use Exporter qw(import); use Fcntl qw(:flock); use Dpkg::Gettext; use Dpkg::ErrorHandling; sub file_lock($$) { my ($fh, $filename) = @_; # A strict dependency on libfile-fcntllock-perl being it an XS module, # and dpkg-dev indirectly making use of it, makes building new perl # package which bump the perl ABI impossible as these packages cannot # be installed alongside. eval q{ pop @INC if $INC[-1] eq '.'; use File::FcntlLock; }; if ($@) { # On Linux systems the flock() locks get converted to file-range # locks on NFS mounts. if ($^O ne 'linux') { warning(g_('File::FcntlLock not available; using flock which is not NFS-safe')); } flock($fh, LOCK_EX) or syserr(g_('failed to get a write lock on %s'), $filename); } else { eval q{ my $fs = File::FcntlLock->new(l_type => F_WRLCK); $fs->lock($fh, F_SETLKW) or syserr(g_('failed to get a write lock on %s'), $filename); } } } sub file_slurp { my $fh = shift; local $/; my $data = <$fh>; return $data; } 1;