Changeset 1095 for Whitix

Show
Ignore:
Timestamp:
10/07/08 15:30:08 (2 months ago)
Author:
mwhitworth
Message:

Comment the command token update.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/user/burn/main.c

    r921 r1095  
    267267                str[end-start]='\0'; 
    268268         
    269 //              printf("str = %s, %#X, %d\n", str, end-start, strlen(str)); 
    270  
     269                /* Check the command table for matches. */ 
    271270                curr=btTable; 
    272271 
     
    282281                } 
    283282                 
     283                /* Check the current directory, but only signal success if the command 
     284                 * is a file. 
     285                 */ 
    284286                if (!SysStat(str, &stat, -1) && (stat.mode & _SYS_STAT_FILE)) 
    285287                        goto success; 
    286288         
     289                /* Prefix /Applications to the string, and try to see if it exists in 
     290                 * the /Applications directory. 
     291                 */ 
    287292                strcpy(buf, "/Applications/"); 
    288293                strcat(buf, str);