Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6825 → Rev 6826

/programs/system/shell/cmd/cmd_rm.c
3,7 → 3,7
{
 
kol_struct70 k70;
char temp[256];
char temp[FILENAME_MAX];
unsigned result;
 
if (NULL == file || strlen(file) == 0)
28,6 → 28,8
else
{
strcpy(temp, cur_dir);
if (temp[strlen(temp)-1] != '/')
strcat(temp, "/"); // add slash
strcat(temp, file);
if ( !file_check(temp) )