guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: Revert "syscalls: 'terminal-dimension' ignores EPERM."


From: guix-commits
Subject: 01/03: Revert "syscalls: 'terminal-dimension' ignores EPERM."
Date: Wed, 7 Jul 2021 07:56:36 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 0dd136bc36709bd413505387ef44a5b60e6be74c
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Jul 6 09:02:50 2021 +0200

    Revert "syscalls: 'terminal-dimension' ignores EPERM."
    
    This reverts commit 17a102332a253f0e3b1f511fa7bda2094264a77c.
    See <https://github.com/koverstreet/bcachefs/pull/277>.
---
 guix/build/syscalls.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index 8886fc0..ac1b0c2 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -2236,8 +2236,8 @@ correspond to a terminal, return the value returned by 
FALL-BACK."
         ;; would return EINVAL instead in some cases:
         ;; <https://bugs.ruby-lang.org/issues/10494>.
         ;; Furthermore, some FUSE file systems like unionfs return ENOSYS for
-        ;; that ioctl, and bcachefs returns EPERM.
-        (if (memv errno (list ENOTTY EINVAL ENOSYS EPERM))
+        ;; that ioctl.
+        (if (memv errno (list ENOTTY EINVAL ENOSYS))
             (fall-back)
             (apply throw args))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]