[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.193 and 1.194

version 1.193, 2020/03/12 09:26:34 version 1.194, 2020/03/17 11:10:12
Line 49 
Line 49 
 static __dead void       usage(void);  static __dead void       usage(void);
 static char             *make_label(const char *, char **);  static char             *make_label(const char *, char **);
   
   static int               areshell(const char *);
 static const char       *getshell(void);  static const char       *getshell(void);
 static int               checkshell(const char *);  
   
 static __dead void  static __dead void
 usage(void)  usage(void)
Line 79 
Line 79 
         return (_PATH_BSHELL);          return (_PATH_BSHELL);
 }  }
   
 static int  int
 checkshell(const char *shell)  checkshell(const char *shell)
 {  {
         if (shell == NULL || *shell != '/')          if (shell == NULL || *shell != '/')
Line 91 
Line 91 
         return (1);          return (1);
 }  }
   
 int  static int
 areshell(const char *shell)  areshell(const char *shell)
 {  {
         const char      *progname, *ptr;          const char      *progname, *ptr;

Legend:
Removed from v.1.193  
changed lines
  Added in v.1.194