1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-30 14:06:50 +00:00

Port to Openindiana

This commit is contained in:
Gerhard Rieger 2015-01-19 21:48:35 +01:00
parent 81c4892599
commit f0c3b1f387
7 changed files with 99 additions and 11 deletions

View file

@ -328,7 +328,9 @@ int _xioopen_listen(struct single *xfd, int xioflags, struct sockaddr *us, sockl
while (maxchildren) {
if (num_child < maxchildren) break;
Notice("maxchildren are active, waiting");
while (!Sleep(UINT_MAX)) ; /* any signal lets us continue */
/* UINT_MAX would even be nicer, but Openindiana works only
with 31 bits */
while (!Sleep(INT_MAX)) ; /* any signal lets us continue */
}
Info("still listening");
} else {