forked from KolibriOS/kolibrios
Now for incorrect scripts (which doesnt start with #SHS) shell says that they are incorrect, not "File not found". Also, translated comments from russian to english in two files.
git-svn-id: svn://kolibrios.org@7792 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
int program_run(char cmd[], char param[])
|
||||
{
|
||||
|
||||
kol_struct70 k70;
|
||||
kol_struct70 k70;
|
||||
|
||||
k70.p00 = 7;
|
||||
k70.p04 = 0;
|
||||
//k70.p08 = (unsigned) param;
|
||||
*((unsigned*)&k70 + 2) = (unsigned) param;
|
||||
k70.p12 = 0;
|
||||
k70.p16 = 0;
|
||||
k70.p20 = 0;
|
||||
k70.p21 = cmd;
|
||||
k70.p00 = 7;
|
||||
k70.p04 = 0;
|
||||
//k70.p08 = (unsigned) param;
|
||||
*((unsigned*)&k70 + 2) = (unsigned) param;
|
||||
k70.p12 = 0;
|
||||
k70.p16 = 0;
|
||||
k70.p20 = 0;
|
||||
k70.p21 = cmd;
|
||||
|
||||
return kol_file_70(&k70);
|
||||
return kol_file_70(&k70);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user