Menu

fix for Eterm-0.9.6./src/command.c

Eterm Q&A
2017-04-26
2021-04-27
  • Lorinczy Zsigmond

    <originally, it="" was="" a="" letter="" which="" i="" couldn't="" send,="" so="" i'm="" trying="" here="">
    Hi,</originally,>

    I'd like to ask you to merge the attached patch into Eterm-0.9.6/src/command.c -- the problem it fixes occurs when ulimit -n >= 65536, and the 16-bit cycle variable overflows.

    Yours: Lőrinczy Zsigmond

    --- command.corig   2011-03-16 07:05:03.000000000 +0100
    +++ command.c   2017-04-26 11:13:11.292718329 +0200
    @@ -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 */
    
     

Log in to post a comment.

MongoDB Logo MongoDB