emacs-devel
[Top][All Lists]
Advanced

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

Re: master 3a6137a 3/4: Extend and overhaul FD_SETSIZE overflow tests.


From: Michael Albinus
Subject: Re: master 3a6137a 3/4: Extend and overhaul FD_SETSIZE overflow tests.
Date: Thu, 31 Dec 2020 12:09:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

p.stephani2@gmail.com (Philipp Stephani) writes:

Hi Philipp,

> +(defun process-tests--EMFILE-message ()
> +  "Return the error message for the EMFILE POSIX error.
> +Return nil if that can't be determined."
> +  (when (eq process-tests--EMFILE-message :unknown)
> +    (setq process-tests--EMFILE-message
> +          (with-temp-buffer
> +            (when (eql (call-process "errno" nil t nil "EMFILE") 0)
> +              (goto-char (point-min))
> +              (when (looking-at (rx "EMFILE" (+ blank) (+ digit)
> +                                    (+ blank) (group (+ nonl))))
> +                (match-string-no-properties 1))))))
> +  process-tests--EMFILE-message)

This breaks several tests on emba.gnu.org, see for example
<https://emba.gnu.org/emacs/emacs/-/jobs/9668/raw>.

Best regards, Michael.



reply via email to

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