|
From: | Po Lu |
Subject: | Re: 1024 file descriptors should be enough for anyone |
Date: | Fri, 06 May 2022 21:20:25 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Po Lu <luangruo@yahoo.com> writes: >> + if (ConnectionNumber (dpy) >= FD_SETSIZE) >> + dpy = 0; Speaking of which, DPY could be NULL here, so this should be: if (dpy && ConnectionNumber (dpy) >= FD_SETSIZE) dpy = 0; instead.
[Prev in Thread] | Current Thread | [Next in Thread] |