1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Fix infinite loop at startup when _SC_OPEN_MAX > 64k.

This commit is contained in:
Jimmy Olgeni 2014-12-27 18:54:35 +00:00
parent 1c89770e45
commit 5a8fcb495b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375690
2 changed files with 15 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= eterm
PORTVERSION= 0.9.6
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES+= x11
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Eterm-${PORTVERSION}
DISTNAME= Eterm-${PORTVERSION}

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- src/command.c.orig
+++ src/command.c
@@ -1561,7 +1561,7 @@
* child processes remain alive upon deletion of the window.
*/
{
- unsigned short i;
+ unsigned long i;
unsigned long max_fds;
/* get number of available file descriptors */