Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2616 → Rev 2617

/programs/system/shell/cmd/cmd_ls.c
7,13 → 7,14
unsigned num_of_file;
unsigned *t;
unsigned type_of_file;
int i;
int i, result;
 
 
k70.p00 = 1;
k70.p04 = 0;
k70.p08 = 0;
k70.p12 = 2*1024*1024; // 2 MB
k70.p16 = malloc(2*1024*1024);
k70.p12 = 10000;
k70.p16 = malloc(32+k70.p12*560);
k70.p20 = 0;
 
/// !!!
23,7 → 24,8
else
k70.p21 = dir;
if ( !kol_file_70(&k70) ) // ïðîâåðÿåì ñóùåñòâîâàíèå êàòàëîãà
result = kol_file_70(&k70);
if ( !((result==0) || (result==6)) ) // ïðîâåðÿåì ñóùåñòâîâàíèå êàòàëîãà
{
free(k70.p16);
return FALSE;
/programs/system/shell/cmd/cmd_more.c
9,7 → 9,7
char temp[256];
unsigned flags;
 
if (NULL == file)
if (strlen(file)<1)
{
#if LANG_ENG
printf (" more <filename>\n\r");
25,11 → 25,7
 
if ( !file_check(temp) )
{
#if LANG_ENG
printf (" File not found!\n\r");
#elif LANG_RUS
printf (" ” ©« ­¥ ­ ©¤¥­!\n\r");
#endif
file_not_found(file);
return FALSE;
}
}
42,11 → 38,7
if ( !file_check(temp) )
{
#if LANG_ENG
printf (" File not found!\n\r");
#elif LANG_RUS
printf (" ” ©« ­¥ ­ ©¤¥­!\n\r");
#endif
file_not_found(file);
return FALSE;
}
}
/programs/system/shell/cmd/cmd_pwd.c
1,6 → 1,6
 
int cmd_pwd(char param[])
{
printf (" %s\n\r", cur_dir);
printf (" %s/\n\r", cur_dir);
return TRUE;
}
/programs/system/shell/cmd/cmd_reboot.c
2,13 → 2,8
int cmd_reboot(char param[])
{
if (!strcmp(param, "kernel"))
{
kol_system_end(4);
return TRUE;
}
else
{
kol_system_end(3);
return TRUE;
}
}
/programs/system/shell/cmd/cmd_ver.c
26,11 → 26,9
printf (" KolibriOS v%d.%d.%d.%d. SVN-ॢ. ï¤à : %d\n\r", vA, vB, vC, vD, Rev);
#endif
free(kvbuf);
return TRUE;
}
else
{
printf (" Shell v%s\n\r", SHELL_VERSION);
return TRUE;
}
}