Message169401
It may be implemented simplier.
fcntl(fd, F_DUPFD_CLOEXEC, min_fd_number) will allocate new fd at least min_fd_number. So, it is not necessary to do a lot of dup() calls. |
|
Date |
User |
Action |
Args |
2012-08-29 17:48:18 | sarum9in | set | recipients:
+ sarum9in, gregory.p.smith, pitrou, ezio.melotti, cvrebert, rosslagerwall |
2012-08-29 17:48:18 | sarum9in | set | messageid: <1346262498.53.0.389468198935.issue15798@psf.upfronthosting.co.za> |
2012-08-29 17:48:17 | sarum9in | link | issue15798 messages |
2012-08-29 17:48:17 | sarum9in | create | |
|