[BACK]Return to tmux.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tmux.c between version 1.73 and 1.74

version 1.73, 2010/02/22 20:41:16 version 1.74, 2010/04/18 13:41:29
Line 238 
Line 238 
         struct keylist          *keylist;          struct keylist          *keylist;
         struct env_data          envdata;          struct env_data          envdata;
         struct msg_command_data  cmddata;          struct msg_command_data  cmddata;
           struct sigaction         sigact;
         char                    *s, *shellcmd, *path, *label, *home, *cause;          char                    *s, *shellcmd, *path, *label, *home, *cause;
         char                     cwd[MAXPATHLEN], **var;          char                     cwd[MAXPATHLEN], **var;
         void                    *buf;          void                    *buf;
Line 537 
Line 538 
                 exit(1);                  exit(1);
         }          }
   
           /* Catch SIGCHLD to avoid a zombie when starting the server. */
           memset(&sigact, 0, sizeof sigact);
           sigemptyset(&sigact.sa_mask);
           sigact.sa_handler = SIG_IGN;
           if (sigaction(SIGCHLD, &sigact, NULL) != 0)
                   fatal("sigaction failed");
   
           /* Initialise the client socket/start the server. */
         if ((main_ibuf = client_init(path, cmdflags, flags)) == NULL)          if ((main_ibuf = client_init(path, cmdflags, flags)) == NULL)
                 exit(1);                  exit(1);
         xfree(path);          xfree(path);

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74