emacs-devel
[Top][All Lists]
Advanced

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

Re: 1024 file descriptors should be enough for anyone


From: Robert Pluim
Subject: Re: 1024 file descriptors should be enough for anyone
Date: Fri, 06 May 2022 18:41:29 +0200

>>>>> On Fri, 06 May 2022 21:20:25 +0800, Po Lu <luangruo@yahoo.com> said:

    Po> Po Lu <luangruo@yahoo.com> writes:
    >>> +    if (ConnectionNumber (dpy) >= FD_SETSIZE)
    >>> +      dpy = 0;

    Po> Speaking of which, DPY could be NULL here, so this should be:

    Po>   if (dpy && ConnectionNumber (dpy) >= FD_SETSIZE)
    Po>     dpy = 0;

Thanks, Iʼll stick that somewhere on the branch.

Robert
-- 



reply via email to

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