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

Diff for /src/usr.bin/tmux/Attic/cmd-string.c between version 1.17 and 1.18

version 1.17, 2012/12/06 12:47:48 version 1.18, 2013/03/24 09:54:10
Line 59 
Line 59 
  * string, or NULL for empty command.   * string, or NULL for empty command.
  */   */
 int  int
 cmd_string_parse(const char *s, struct cmd_list **cmdlist, char **cause)  cmd_string_parse(const char *s, struct cmd_list **cmdlist, const char *file,
       u_int line, char **cause)
 {  {
         size_t          p;          size_t          p;
         int             ch, i, argc, rval;          int             ch, i, argc, rval;
Line 131 
Line 132 
                         if (argc == 0)                          if (argc == 0)
                                 goto out;                                  goto out;
   
                         *cmdlist = cmd_list_parse(argc, argv, cause);                          *cmdlist = cmd_list_parse(argc, argv, file, line, cause);
                         if (*cmdlist == NULL)                          if (*cmdlist == NULL)
                                 goto out;                                  goto out;
   

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18