This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e313ec63ddf60486db174be8acb4c36ee57925b5

commit e313ec63ddf60486db174be8acb4c36ee57925b5 (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Aug 24 00:36:58 2025 +0200

    scripts: Replace some POSIX imports with Fcntl module
    
    The :errno_h stop being used, so we can switch to the more light weight
    Fcntl module.
---
 scripts/dpkg-distaddfile.pl | 2 +-
 scripts/dpkg-gencontrol.pl  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/dpkg-distaddfile.pl b/scripts/dpkg-distaddfile.pl
index a66b65d29..e54ac68f8 100755
--- a/scripts/dpkg-distaddfile.pl
+++ b/scripts/dpkg-distaddfile.pl
@@ -20,7 +20,7 @@
 
 use v5.36;
 
-use POSIX qw(:errno_h :fcntl_h);
+use Fcntl;
 
 use Dpkg ();
 use Dpkg::Gettext;
diff --git a/scripts/dpkg-gencontrol.pl b/scripts/dpkg-gencontrol.pl
index 4182c3c4c..c4935f96d 100755
--- a/scripts/dpkg-gencontrol.pl
+++ b/scripts/dpkg-gencontrol.pl
@@ -22,7 +22,7 @@
 use v5.36;
 
 use List::Util qw(none);
-use POSIX qw(:errno_h :fcntl_h);
+use Fcntl;
 use File::Find;
 
 use Dpkg ();

-- 
Dpkg.Org's dpkg

Reply via email to